(Emacs/app|config)~w(grep|dired) have the same finish/abort binds

ZZ and ZQ.
This commit is contained in:
2024-05-08 01:30:48 +05:30
parent d998ae45cf
commit a6fffa384c
2 changed files with 7 additions and 4 deletions

View File

@@ -671,8 +671,8 @@ thing faster and within Emacs lisp. ~rgrep~ is useful though.
(nmmap
:keymaps 'wgrep-mode-map
"q" #'evil-record-macro
"Zz" #'wgrep-finish-edit
"Zq" #'wgrep-abort-changes)
"ZZ" #'wgrep-finish-edit
"ZQ" #'wgrep-abort-changes)
:config
;; Without this wgrep doesn't work properly
(evil-set-initial-state 'grep-mode 'normal))