diff options
author | Tom Willemse | 2013-12-02 11:56:09 +0100 |
---|---|---|
committer | Tom Willemse | 2013-12-02 11:56:09 +0100 |
commit | c64a78f2c67de607ef724a5b818bc938c287a7dc (patch) | |
tree | 9cec7514fd083134536bcf495a0e5bac6bf04b08 /.emacs.d/init.el | |
parent | c3974a6906a9fc9bb2eadf01d2ca79673f2155de (diff) | |
download | emacs-c64a78f2c67de607ef724a5b818bc938c287a7dc.tar.gz emacs-c64a78f2c67de607ef724a5b818bc938c287a7dc.zip |
Add easy wdired keybinding to dired
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9a60f81..a2974f0 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -267,6 +267,10 @@ FEATURE may be an unquoted feature symbol or a file name, see (when (buffer-file-name) (fci-mode))) +(defun init-set-keys-for-dired () + "Set somee keybindings for `dired'." + (local-set-key (kbd "E") #'wdired-change-to-wdired-mode)) + (defun init-set-keys-for-eshell () "Set some keybindings for `eshell'." (local-set-key (kbd "C-d") #'init-eshell-C-d)) @@ -477,6 +481,9 @@ Also change directories to current working directory." "contacts.org" "work") eol)))) (add-to-list 'desktop-globals-to-clear 'desktop-dirname)) +(stante-after dired + (add-hook 'dired-mode-hook #'init-set-keys-for-dired)) + (stante-after eap (setq eap-music-library "/mnt/music") (setq eap-playlist-library "~/music/playlists")) |