aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-15 00:02:33 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-15 00:02:33 +0100
commite8e4ba509cf9c74eef0da55ed45c9703f618e0e8 (patch)
treec03ce3e9e02a1087953346b8b719f0bfd8189a3b /Emacs/.config/emacs
parent7dd02a2a138bbfaf67684baad76e9a4e13a6873c (diff)
downloaddotfiles-e8e4ba509cf9c74eef0da55ed45c9703f618e0e8.tar.gz
dotfiles-e8e4ba509cf9c74eef0da55ed45c9703f618e0e8.tar.bz2
dotfiles-e8e4ba509cf9c74eef0da55ed45c9703f618e0e8.zip
~clean up evil-mc
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org17
1 files changed, 2 insertions, 15 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index e1ea23a..f9e7cd6 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -246,30 +246,17 @@ the current position.
("r" . evil-mc-resume-cursors)
("s" . evil-mc-pause-cursors))
:init
+ (setq evil-mc-key-map nil)
(define-prefix-command 'dx:evil-mc-map)
(bind-key "gz" dx:evil-mc-map evil-normal-state-map)
:config
- (dolist (fn '((delete-char)
- (backward-kill-word)
- (company-complete-common . evil-mc-execute-default-complete)
- (evil-delete-back-to-indentation . evil-mc-execute-default-call)
- ;; Have evil-mc work with explicit `evil-escape' (on C-g)
- (evil-escape . evil-mc-execute-default-evil-normal-state)
- ;; Add `evil-org' support
- (evil-org-delete . evil-mc-execute-default-evil-delete)
- (evil-org-delete-char . evil-mc-execute-default-evil-delete)
- (evil-org-delete-backward-char . evil-mc-execute-default-evil-delete)))
- (cl-pushnew `(,(car fn) (:default . ,(or (cdr fn) #'evil-mc-execute-default-call-with-count)))
- evil-mc-custom-known-commands
- :test #'eq
- :key #'car))
-
(global-evil-mc-mode +1)
(defun dx:evil-mc-cursor-here ()
(interactive)
(evil-mc-make-cursor-here)
(evil-mc-pause-cursors)))
#+END_SRC
+
** Evil collection
Setup evil collection, but don't turn on the mode. Instead, I'll turn
on setups for specific modes I think benefit from it.