From ceb098000669f90af3afbbc9819e00c7c0e3268a Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 5 May 2020 16:53:34 -0400 Subject: [PATCH] Add evil-mc and evil-multiedit --- emacs/init.org | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 42f9a50..ecf6593 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -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) #+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 A framework for creating Magit-style popups: #+BEGIN_SRC emacs-lisp