summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 7cddded..4ec421d 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -881,7 +881,15 @@ the comparison of the ‘company-pseudo-tooltip-overlay’ height and 0 using PR
("o" x-tetris-rotate-mirror)
("SPC" tetris-move-bottom)))
+(defun x-dired-in-current-directory ()
+ "Open `dired' in the current directory."
+ (interactive)
+ (dired default-directory))
+
(x-define-evil-bindings
+ :normal
+ ("d" x-dired-in-current-directory)
+
:normal&visual
("a" x-evil-align-regexp)
("s" x-evil-sort-lines)