mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(navigation): Improve dired on macOS
This commit is contained in:
@@ -6,6 +6,20 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(use-package dired
|
||||
:straight (:type built-in)
|
||||
|
||||
:config
|
||||
(when (string= system-type "darwin")
|
||||
(let ((gls (executable-find "gls")))
|
||||
(when gls
|
||||
(setq dired-use-ls-dired t
|
||||
insert-directory-program gls
|
||||
dired-listing-switches "-aBhl")))))
|
||||
|
||||
(use-package dired-x
|
||||
:straight (:type built-in))
|
||||
|
||||
(use-package dired+
|
||||
:bind (:map dired-mode-map
|
||||
("c" . dired-create-directory)
|
||||
|
||||
Reference in New Issue
Block a user