about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-06-22T03·53-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-06-22T03·53-0400
commite476c5d9a7b016390d152242985a90079668c14d (patch)
tree63b049933f0324111daaf24d9c1250d085ffea16 /configs
parent8418083b64350396680dfa38c018ae80dde0580b (diff)
Extends dired windmove kbds
Diffstat (limited to 'configs')
-rw-r--r--configs/.emacs12
1 files changed, 7 insertions, 5 deletions
diff --git a/configs/.emacs b/configs/.emacs
index e434aee8404e..d4d4d6e5ddc0 100644
--- a/configs/.emacs
+++ b/configs/.emacs
@@ -244,10 +244,6 @@
   :init
   (load "~/.emacs.d/wc-dired-functions.el")
   :bind (:map dired-mode-map
-              ;; remove bindings that interfere with globally-set windmove bindings
-              ("C-h" . nil)
-              ("C-k" . nil)
-
               ("e" . wdired-change-to-wdired-mode)
               ("c" . find-file)
               ("RET" . dired-find-alternate-file)
@@ -260,7 +256,13 @@
 (use-package dired+
   :ensure t
   :init
-  (setq diredp-hide-details-initially-flag nil))
+  (setq diredp-hide-details-initially-flag nil)
+  :config
+  ;; remove bindings that interfere with globally-set windmove bindings
+  (define-key dired-mode-map (kbd "C-h") nil)
+  (define-key dired-mode-map (kbd "C-j") nil)
+  (define-key dired-mode-map (kbd "C-k") nil)
+  (define-key dired-mode-map (kbd "C-l") nil))
 
 
 ;; Evil Settings