all repos — nixfiles @ ebf4da622c7c25ea7768de7b94925db7c4a1e8c4

System and user configuration, managed by nix and home-manager

Emacs: Bind multiple-cursors keys via override keymap

Alan Pearce
commit

ebf4da622c7c25ea7768de7b94925db7c4a1e8c4

parent

5483239c6f3057ecb66a7be7687ed6118df6f362

1 file changed, 5 insertions(+), 6 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -2437,12 +2437,11 @@
#+BEGIN_SRC emacs-lisp (use-package multiple-cursors :defer 1 - :config (progn - (bind-key "C-." #'mc/mark-next-like-this) - (bind-key "C-," #'mc/mark-previous-like-this) - (bind-key "M-<f3>" #'mc/mark-all-like-this-dwim) - (bind-key "C-<f3>" #'mc/mark-more-like-this-extended) - (bind-key "C-S-L" #'mc/edit-lines))) + :bind* (("C-." . mc/mark-next-like-this) + ("C-," . mc/mark-previous-like-this) + ("M-<f3>" . mc/mark-all-like-this-dwim) + ("C-<f3>" . mc/mark-more-like-this-extended) + ("C-S-L" . mc/edit-lines))) #+END_SRC ** paredit