about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-dired.el
blob: 75a952f9538c5b2ac631d5cbb762b585462399ab (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
;;; init-dired.el --- Dired Configuration File -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(use-feature dired
  :config
  (put 'dired-find-alternate-file 'disabled nil)
  :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-feature dired-x)

(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