aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-05 15:34:27 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-05 15:34:27 +0100
commitfe81c4c95ebb0746dbdd29edff93f1e949045d59 (patch)
treed3676ecd769599d08efb740f27b2ddc6e3696c98 /Emacs/.config/emacs
parent81991f2ba023842b39e44f24710f4cb5c2b31c54 (diff)
downloaddotfiles-fe81c4c95ebb0746dbdd29edff93f1e949045d59.tar.gz
dotfiles-fe81c4c95ebb0746dbdd29edff93f1e949045d59.tar.bz2
dotfiles-fe81c4c95ebb0746dbdd29edff93f1e949045d59.zip
Add Evil-multiedit
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org17
1 files changed, 16 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index d739424..dbfddbb 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -763,6 +763,21 @@ uses 'gr' as its prefix, which I don't like.
:config
(global-evil-mc-mode))
#+end_src
+*** Evil multi edit
+Evil-ME provides a simpler parallel editing experience within the same
+buffer. I use it in-tandem with Evil-MC, where I use Evil-ME for
+textual changes and Evil-MC for more complex motions.
+
+#+begin_src emacs-lisp
+(use-package evil-multiedit
+ :after evil
+ :straight t
+ :general
+ (:states '(normal visual)
+ :keymaps 'override
+ "M-e" #'evil-multiedit-match-and-next
+ "M-E" #'evil-multiedit-match-and-prev))
+#+end_src
*** Evil collection
Provides a community based set of keybindings for most modes in
Emacs. I don't necessarily like all my modes having these bindings
@@ -2430,7 +2445,7 @@ into text-mode.
#+begin_src emacs-lisp
(use-package flyspell
:defer t
- :hook (org-mode-hook . flyspell-mode)
+ :hook ((org-mode-hook text-mode-hook) . flyspell-mode)
:general
(nmmap
:keymaps 'text-mode-map