aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-08-15 16:09:52 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-08-15 16:09:52 +0100
commit217ee9cd00d690a033be5869f1c777eda5b5d6d9 (patch)
tree1d4ebe93b4e1898c0c24cb31541e4179c41c0eea
parentc4acd38936aeaa2fb352c14e94f97d7249c6ec6b (diff)
downloaddotfiles-217ee9cd00d690a033be5869f1c777eda5b5d6d9.tar.gz
dotfiles-217ee9cd00d690a033be5869f1c777eda5b5d6d9.tar.bz2
dotfiles-217ee9cd00d690a033be5869f1c777eda5b5d6d9.zip
(Emacs/config)~Use evil-mc-cursors-map for me
-rw-r--r--Emacs/.config/emacs/config.org24
-rw-r--r--Emacs/.config/emacs/straight/versions/default.el2
2 files changed, 2 insertions, 24 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
diff --git a/Emacs/.config/emacs/straight/versions/default.el b/Emacs/.config/emacs/straight/versions/default.el
index 621cfc8..6050029 100644
--- a/Emacs/.config/emacs/straight/versions/default.el
+++ b/Emacs/.config/emacs/straight/versions/default.el
@@ -27,7 +27,7 @@
("evil" . "60ba716bf500ca21cdf5a8f83101449a1cbe3413")
("evil-collection" . "1ad283f5b7ac9320ac3d41bccfc71a52f714563a")
("evil-commentary" . "c5945f28ce47644c828aac1f5f6ec335478d17fb")
- ("evil-mc" . "bdf893ea6f52fd0f10bece8ddae813658e17bbb4")
+ ("evil-mc" . "cff3374bfe1b7b1932743425d7fc5d4ab66d747e")
("evil-numbers" . "7a1b62afc12da2b582bf84d722e7b10ca8b97065")
("evil-org-mode" . "b1f309726b1326e1a103742524ec331789f2bf94")
("evil-surround" . "8fad8540c490d94a820004f227552ca08e3e3857")