From c9aba5df32dae367a70ffd99b1fa3a66b8c29a87 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 16 Aug 2022 12:19:19 +0800 Subject: 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 --- dired-conf.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dired-conf.el') 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 -- cgit v1.2.3-18-g5258