Add evil-mc and evil-multiedit

This commit is contained in:
Jeremy Dormitzer 2020-05-05 16:53:34 -04:00
parent 52d0856628
commit ceb0980006

View File

@ -287,6 +287,28 @@ Adds Evil commands to comment out lines of code:
(general-def 'normal messages-buffer-mode-map "SPC" leader-map :keymaps 'override) (general-def 'normal messages-buffer-mode-map "SPC" leader-map :keymaps 'override)
#+END_SRC #+END_SRC
* Multiple cursors
#+BEGIN_SRC emacs-lisp
(use-package evil-mc
:defer 0
:config
(global-evil-mc-mode)
(general-def '(normal visual)
"gs" evil-mc-cursors-map
"M-n" #'evil-mc-make-and-goto-next-cursor
"M-p" #'evil-mc-make-and-goto-prev-cursor
"C-n" #'evil-mc-make-and-goto-next-match
"C-t" #'evil-mc-skip-and-goto-next-match
"C-p" #'evil-mc-make-and-goto-prev-match))
#+END_SRC
#+BEGIN_SRC emacs-lisp
(use-package evil-multiedit
:defer 0
:config
(evil-multiedit-default-keybinds))
#+END_SRC
* Transient * Transient
A framework for creating Magit-style popups: A framework for creating Magit-style popups:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp