commit 82becde65bcd84969686fea720bde1ebe8951166
parent 0c2f3847e885cd7c1914e6f9445e6ca0c43ea117
Author: Alex Balgavy <alex@balgavy.eu>
Date: Mon, 2 Aug 2021 15:18:45 +0200
emacs: dired kill subdir binding
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -684,6 +684,13 @@ Just a wrapper function to my radio script:
(ansi-term "radio" "*radio*"))
#+end_src
+* Dired
+'i' expands subdirs, so I want to be able to close them too.
+
+#+begin_src emacs-lisp
+ (define-key dired-mode-map (kbd "M-k") #'dired-kill-subdir)
+#+end_src
+
* References
Here's a list of good articles I encountered about configging emacs:
- [[https://karthinks.com/software/batteries-included-with-emacs/][Batteries included with Emacs]]