about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-06-22T02·57-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-06-22T02·57-0400
commit53d106ee888e3291c60c28b54abc22eed3a1efee (patch)
tree8b3af580c8c729b966f6b5976ef241315d4ffa24 /configs
parent5e5084311fc9fc06330ff614fa1f49323ca93892 (diff)
Removes dired bindings that interfere with windmove global kbds
Diffstat (limited to 'configs')
-rw-r--r--configs/.emacs6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/.emacs b/configs/.emacs
index 5f4c753ff11f..2014ca0bca35 100644
--- a/configs/.emacs
+++ b/configs/.emacs
@@ -242,6 +242,10 @@
   :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)
@@ -548,7 +552,7 @@
 (global-set-key (kbd "C-h") 'windmove-left)
 (global-set-key (kbd "C-l") 'windmove-right)
 (global-set-key (kbd "C-k") 'windmove-up)
-(global-set-key (kbd "C-j") 'windmove-up)
+(global-set-key (kbd "C-j") 'windmove-down)
 
 
 ;; Fullscreen settings