diff --git a/global.org b/global.org index e7a44c4..7ae033a 100644 --- a/global.org +++ b/global.org @@ -1265,17 +1265,16 @@ #+END_SRC ** multiple-cursors #+BEGIN_SRC emacs-lisp - (require 'multiple-cursors) - (define-key mc/keymap (kbd "") nil) - - (global-set-key (kbd "C->") 'mc/mark-next-like-this) - (global-set-key (kbd "C-<") 'mc/mark-previous-like-this) - (global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this) - (global-set-key (kbd "C-c C-#") 'mc/insert-numbers) - (global-set-key (kbd "C-c C-\\") 'mc/mark-all-dwim) - - (global-set-key (kbd "C-c ") 'mc/mark-pop) - (global-set-key (kbd "C-c ") 'mc/mark-pop) + (require 'multiple-cursors) + (define-key mc/keymap (kbd "") nil) + (global-set-key-alist + '(("C->" . mc/mark-next-like-this) + ("C-<" . mc/mark-previous-like-this) + ("C-c C-<" . mc/mark-all-like-this) + ("C-c C-#" . mc/insert-numbers) + ("C-c C-\\" . mc/mark-all-dwim) + ("C-c " . mc/mark-pop) + ("C-c " . mc/mark-pop))) #+END_SRC ** =avy= and =avy-zap= These packages allow fast navigation and zapping