-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathemrc-dired.el
60 lines (48 loc) · 1.36 KB
/
emrc-dired.el
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
;;; emrc-dired.el --- Metapackage for eshell-related stuff -*- lexical-binding: t -*-
;; Homepage: https://github.com/a13/emacs.d
;; Version: 0.0.1
;; Package-Requires: ((emacs "25.2") (use-package "2.0"))
;; Package-Requires: ((dired-toggle "0.1") (dired-hide-dotfiles "0.1") (dired-fl "0") (async "1.9.3") (dired-rsync "0.5") (dired-launch "0.2"))
;;; Commentary:
;;; Code:
(use-package ls-lisp
:ensure nil
:custom
(ls-lisp-emulation 'MS-Windows)
(ls-lisp-ignore-case t)
(ls-lisp-verbosity nil))
(use-package dired
:ensure nil
:custom (dired-dwim-target t "guess a target directory")
:hook
(dired-mode . dired-hide-details-mode))
(use-package dired-x
:ensure nil
:bind
([remap list-directory] . dired-jump)
:custom
;; do not bind C-x C-j since it's used by jabber.el
(dired-bind-jump nil))
(use-package dired-toggle)
(use-package dired-hide-dotfiles
:bind
(:map dired-mode-map
("." . dired-hide-dotfiles-mode))
:hook
(dired-mode . dired-hide-dotfiles-mode))
(use-package diredfl
:hook
(dired-mode . diredfl-mode))
(use-package async
:init
(dired-async-mode t))
(use-package dired-rsync
:bind
(:map dired-mode-map
("r" . dired-rsync)))
(use-package dired-launch)
;; Local Variables:
;; eval: (add-hook 'after-save-hook (lambda ()(org-babel-tangle)) nil t)
;; End:
(provide 'emrc-dired)
;;; emrc-dired.el ends here