Skip to content

Commit

Permalink
feat(dired): add +dired-here
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 18, 2024
1 parent d018dbc commit 3ebe16e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,12 @@ or file path may exist now."
:hook (dired-mode . turn-on-gnus-dired-mode)
:custom
(dired-dwim-target t)
(dired-auto-revert-buffer t))
(dired-auto-revert-buffer t)
:init
(defun +dired-here (&optional switches)
"Run `dired' in DIR or in the current directory."
(interactive (list (when current-prefix-arg (read-string "Dired listing switches: " dired-listing-switches))))
(dired default-directory switches)))

(use-package doc-view
:custom
Expand Down

0 comments on commit 3ebe16e

Please sign in to comment.