Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add customizations for dired-mode

  • Loading branch information...
commit 1d07205af7e6952ce5207766e3def845db6ac853 1 parent d95d1bf
@jimeh authored
Showing with 7 additions and 0 deletions.
  1. +1 −0  mode-customizations.el
  2. +6 −0 mode-customizations/dired-mode.el
View
1  mode-customizations.el
@@ -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
6 mode-customizations/dired-mode.el
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.