(Emacs/app|config)~w(grep|dired) have the same finish/abort binds
ZZ and ZQ.
This commit is contained in:
@@ -267,8 +267,11 @@ easier than even using the mark based system.
|
||||
:general
|
||||
(nmmap
|
||||
:keymaps 'dired-mode-map
|
||||
"." #'browse-url-of-dired-file
|
||||
"W" #'wdired-change-to-wdired-mode))
|
||||
"W" #'wdired-change-to-wdired-mode)
|
||||
(nmmap
|
||||
:keymaps 'wdired-mode-map
|
||||
"ZZ" #'wdired-finish-edit
|
||||
"ZQ" #'wdired-abort-changes))
|
||||
#+end_src
|
||||
* WAIT Xwidget
|
||||
:PROPERTIES:
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user