diff options
author | JSDurand <mmemmew@gmail.com> | 2022-08-16 12:19:19 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-08-16 12:19:19 +0800 |
commit | c9aba5df32dae367a70ffd99b1fa3a66b8c29a87 (patch) | |
tree | c22c330819e9d5e6e24deb243c8c0d0d77f2e6e0 | |
parent | 4eb051c74d5485bc533f9f309b96a20b942368da (diff) |
wdired: use return to finish editing
I keep pressing return to finish editing, so I just add this
functionality instead of trying to hit C-c twice. I am lazy. ;P
-rw-r--r-- | dired-conf.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dired-conf.el b/dired-conf.el index 512ee3a..f638def 100644 --- a/dired-conf.el +++ b/dired-conf.el @@ -32,6 +32,8 @@ (require 'dired-x) (require 'files) +(define-key wdired-mode-map (vector 'return) #'wdired-finish-edit) + (set 'insert-directory-program "gls") (set 'dired-listing-switches |