Rewrite lambda as prefix-alternatives

This commit is contained in:
Ivan Malison 2016-06-06 16:10:04 -07:00
parent 5dbbee2346
commit 18a7154a64

View File

@ -27,14 +27,17 @@ custom-before.el is loaded before the rest of init.el, while custom-after.el is
(>= emacs-minor-version 4))
(>= emacs-major-version 25)))
#+END_SRC
#+BEGIN_SRC emacs-lisp
(imalison:prefix-alternatives imalison:mark-ring helm-mark-ring helm-global-mark-ring)
#+END_SRC
* Packages
* Keybindings
#+BEGIN_SRC emacs-lisp
(bind-key "M-q" 'fill-or-unfill-paragraph)
(bind-key "C-c C-s" 'sudo-edit)
(bind-key "C-c SPC"
(lambda () (interactive)
(if current-prefix-arg (helm-global-mark-ring) (helm-mark-ring))))
(bind-key "C-c SPC" 'imalison:mark-ring)
(bind-key "C-c e" 'os-copy)
(bind-key "C-x p" 'pop-to-mark-command)
(setq set-mark-command-repeat-pop t)