diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-08 01:30:48 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-08 01:30:48 +0530 |
commit | a6fffa384c0e383e3ea6d5daab3c61f60478c871 (patch) | |
tree | be5bdb4b9b6bb9e1f3e8aa8206f312f068d2161c | |
parent | d998ae45cfbf71601061c052848a3e3c5aa0c9b7 (diff) | |
download | dotfiles-a6fffa384c0e383e3ea6d5daab3c61f60478c871.tar.gz dotfiles-a6fffa384c0e383e3ea6d5daab3c61f60478c871.tar.bz2 dotfiles-a6fffa384c0e383e3ea6d5daab3c61f60478c871.zip |
(Emacs/app|config)~w(grep|dired) have the same finish/abort binds
ZZ and ZQ.
-rw-r--r-- | Emacs/.config/emacs/app.org | 7 | ||||
-rw-r--r-- | Emacs/.config/emacs/config.org | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/app.org b/Emacs/.config/emacs/app.org index d5201a6..089a3d4 100644 --- a/Emacs/.config/emacs/app.org +++ b/Emacs/.config/emacs/app.org @@ -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: diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 045502b..61c60f5 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -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)) |