summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-21 07:46:45 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-21 07:46:45 +0200
commit15ac54bd5a1683e398f0e566ebcbb7aa88c04166 (patch)
treeb280e05843bb402c9d3c29e09585a1f780dbe28e /.config
parent1b44bc02dd054a3792f32d858585f210a73a6ae4 (diff)
emacs: Add dired binding
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index c6b688b..1b4f7df 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -871,6 +871,11 @@ the comparison of the ‘company-pseudo-tooltip-overlay’ height and 0 using PR
("a" eglot-code-actions)
("r" eglot-rename)))
+(use-package dired
+ :ensure nil
+ :config
+ (evil-define-key 'normal 'dired-mode-map "n" #'find-file))
+
;;; Context-Specific Modes
(dolist (mode '(c-mode c-ts-mode go-ts-mode))
(add-hook (x-mode-to-hook mode) #'electric-pair-local-mode)