diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 40a5478..e25f572 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -49,6 +49,7 @@ - [[#prettify][Prettify]] - [[#general][General]] - [[#buffers][Buffers]] + - [[#dired][Dired]] - [[#electric][Electric]] - [[#file-paths][File Paths]] - [[#file-backups-versioning][File Backups Versioning]] @@ -892,6 +893,12 @@ Debug Adapter Protocol. (setq ibuffer-expert t) #+END_SRC +** Dired + +#+BEGIN_SRC emacs-lisp +(setq wdired-allow-to-change-permissions t) +#+END_SRC + ** Electric #+BEGIN_SRC emacs-lisp @@ -1876,6 +1883,13 @@ Set keybinds to functionality of installed packages. "RET" #'evil-ret) (general-def 'motion org-agenda-mode-map "RET" #'org-agenda-switch-to) + + ;; Wdired + (with-eval-after-load 'wdired + (general-def '(normal insert) wdired-mode-map + "M-c" #'wdired-finish-edit + "M-k" #'wdired-abort-changes + )) ) #+END_SRC