blob: 380861cc2961c407b00a6bde1d214849db2a04ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
;;; init-dired.el --- Dired Configuration File -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(use-package dired
:ensure nil
:config
(put 'dired-find-alternate-file 'disabled nil)
(when (eq system-type 'darwin)
(setq insert-directory-program "/usr/local/bin/gls"))
:custom
(dired-use-ls-dired t)
(dired-recursive-deletes 'always)
(dired-recursive-copies 'always)
(dired-dwim-target t)
(dired-kill-when-opening-new-dired-buffer t)
(wdired-use-dired-vertical-movement 'sometimes))
(use-package dired-x
:ensure nil)
(use-package dired-subtree
:config
(bind-keys :map dired-mode-map
("i" . dired-subtree-insert)
(";" . dired-subtree-remove)))
(provide 'init-dired)
;;; init-dired.el ends here
|