(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
|
:general
|
||||||
(nmmap
|
(nmmap
|
||||||
:keymaps 'dired-mode-map
|
: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
|
#+end_src
|
||||||
* WAIT Xwidget
|
* WAIT Xwidget
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
|||||||
@@ -671,8 +671,8 @@ thing faster and within Emacs lisp. ~rgrep~ is useful though.
|
|||||||
(nmmap
|
(nmmap
|
||||||
:keymaps 'wgrep-mode-map
|
:keymaps 'wgrep-mode-map
|
||||||
"q" #'evil-record-macro
|
"q" #'evil-record-macro
|
||||||
"Zz" #'wgrep-finish-edit
|
"ZZ" #'wgrep-finish-edit
|
||||||
"Zq" #'wgrep-abort-changes)
|
"ZQ" #'wgrep-abort-changes)
|
||||||
:config
|
:config
|
||||||
;; Without this wgrep doesn't work properly
|
;; Without this wgrep doesn't work properly
|
||||||
(evil-set-initial-state 'grep-mode 'normal))
|
(evil-set-initial-state 'grep-mode 'normal))
|
||||||
|
|||||||
Reference in New Issue
Block a user