Use global helper for mc bindings

master
Jacopo De Simoi 7 years ago
parent 745548fd36
commit 763cfd36b4
  1. 21
      global.org

@ -1265,17 +1265,16 @@
#+END_SRC
** multiple-cursors
#+BEGIN_SRC emacs-lisp
(require 'multiple-cursors)
(define-key mc/keymap (kbd "<return>") 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 <f13>") 'mc/mark-pop)
(global-set-key (kbd "C-c <f14>") 'mc/mark-pop)
(require 'multiple-cursors)
(define-key mc/keymap (kbd "<return>") 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 <f13>" . mc/mark-pop)
("C-c <f14>" . mc/mark-pop)))
#+END_SRC
** =avy= and =avy-zap=
These packages allow fast navigation and zapping

Loading…
Cancel
Save