diff options
author | Alan Pearce | 2017-04-24 15:29:53 +0200 |
---|---|---|
committer | Alan Pearce | 2017-04-24 15:29:53 +0200 |
commit | ebf4da622c7c25ea7768de7b94925db7c4a1e8c4 (patch) | |
tree | 9d8999223fa5bc1d3c203d45d094ae6e8bf7e2fe /emacs | |
parent | 5483239c6f3057ecb66a7be7687ed6118df6f362 (diff) | |
download | dotfiles-ebf4da622c7c25ea7768de7b94925db7c4a1e8c4.tar.lz dotfiles-ebf4da622c7c25ea7768de7b94925db7c4a1e8c4.tar.zst dotfiles-ebf4da622c7c25ea7768de7b94925db7c4a1e8c4.zip |
Emacs: Bind multiple-cursors keys via override keymap
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.org | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 120b4a3..a2a664a 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2437,12 +2437,11 @@ saw that multiple-cursors was released for Emacs. #+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 |