Enable dired-x whenever dired mode is invoked
This commit is contained in:
parent
55e765911e
commit
4233409d50
1 changed files with 13 additions and 1 deletions
|
|
@ -483,8 +483,20 @@ C-c C-c to apply."
|
||||||
|
|
||||||
* Dired
|
* Dired
|
||||||
|
|
||||||
|
** Dired-x
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(with-eval-after-load 'dired
|
||||||
(require 'dired-x)
|
(require 'dired-x)
|
||||||
|
;; Set dired-x global variables here. For example:
|
||||||
|
;; (setq dired-x-hands-off-my-keys nil)
|
||||||
|
))
|
||||||
|
|
||||||
|
(add-hook 'dired-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
;; Set dired-x buffer-local variables here. For example:
|
||||||
|
;; (dired-omit-mode 1)
|
||||||
|
))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Whole-line-or-region
|
* Whole-line-or-region
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue