Add customizations for dired-mode

This commit is contained in:
2012-12-11 17:38:38 +00:00
parent d95d1bf86d
commit 1d07205af7
2 changed files with 7 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
(load-file (config-path "mode-customizations/coffee-mode.el"))
(load-file (config-path "mode-customizations/conf-mode.el"))
(load-file (config-path "mode-customizations/css-mode.el"))
(load-file (config-path "mode-customizations/dired-mode.el"))
(load-file (config-path "mode-customizations/emacs-lisp-mode.el"))
(load-file (config-path "mode-customizations/erlang-mode.el"))
(load-file (config-path "mode-customizations/feature-mode.el"))

View File

@@ -0,0 +1,6 @@
(defun customizations-for-dired-mode ()
(interactive)
(define-key dired-mode-map (kbd "c") 'dired-create-directory)
)
(add-hook 'dired-mode-hook 'customizations-for-dired-mode)