diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-08-15 16:09:52 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-08-15 16:09:52 +0100 |
commit | 217ee9cd00d690a033be5869f1c777eda5b5d6d9 (patch) | |
tree | 1d4ebe93b4e1898c0c24cb31541e4179c41c0eea /Emacs/.config/emacs/config.org | |
parent | c4acd38936aeaa2fb352c14e94f97d7249c6ec6b (diff) | |
download | dotfiles-217ee9cd00d690a033be5869f1c777eda5b5d6d9.tar.gz dotfiles-217ee9cd00d690a033be5869f1c777eda5b5d6d9.tar.bz2 dotfiles-217ee9cd00d690a033be5869f1c777eda5b5d6d9.zip |
(Emacs/config)~Use evil-mc-cursors-map for me
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index db56299..4ccdb39 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -709,31 +709,9 @@ keymap because it uses 'gr' as its prefix, which I don't like. :init (defvar evil-mc-key-map (make-sparse-keymap)) :general - (nmap - :infix "gz" - "q" #'evil-mc-undo-all-cursors - "d" #'evil-mc-make-and-goto-next-match - "j" #'evil-mc-make-cursor-move-next-line - "k" #'evil-mc-make-cursor-move-prev-line - "j" #'evil-mc-make-cursor-move-next-line - "m" #'evil-mc-make-all-cursors - "z" #'evil-mc-make-cursor-here - "r" #'evil-mc-resume-cursors - "s" #'evil-mc-pause-cursors - "u" #'evil-mc-undo-last-added-cursor) + (nmap "gz" evil-mc-cursors-map) :config (global-evil-mc-mode)) - ;; (evil-mc-define-vars) - ;; (evil-mc-initialize-vars) - ;; (add-hook 'evil-mc-before-cursors-created #'evil-mc-pause-incompatible-modes) - ;; (add-hook 'evil-mc-before-cursors-created #'evil-mc-initialize-active-state) - ;; (add-hook 'evil-mc-after-cursors-deleted #'evil-mc-teardown-active-state) - ;; (add-hook 'evil-mc-after-cursors-deleted #'evil-mc-resume-incompatible-modes) - ;; (advice-add #'evil-mc-initialize-hooks :override #'ignore) - ;; (advice-add #'evil-mc-teardown-hooks :override #'evil-mc-initialize-vars) - ;; (advice-add #'evil-mc-initialize-active-state :before #'turn-on-evil-mc-mode) - ;; (advice-add #'evil-mc-teardown-active-state :after #'turn-off-evil-mc-mode) - ;; (add-hook 'evil-insert-state-entry-hook #'evil-mc-resume-cursors) #+end_src *** Evil collection |