diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2024-09-22 15:35:48 +0200 | 
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-22 15:35:48 +0200 | 
| commit | d5a99e38b7974f9d283ac3d6985ecaf466db388d (patch) | |
| tree | 5066521389747499439b680f36875fd039d576ce /.config | |
| parent | d75289b4647d917e1d5614ffa52ec87199561a97 (diff) | |
emacs: Add binding to quickly open dired
Diffstat (limited to '.config')
| -rw-r--r-- | .config/emacs/init.el | 8 | 
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)  |