Extends dired windmove kbds

This commit is contained in:
William Carroll 2017-06-21 23:53:56 -04:00
parent 8418083b64
commit e476c5d9a7

View file

@ -244,10 +244,6 @@
:init :init
(load "~/.emacs.d/wc-dired-functions.el") (load "~/.emacs.d/wc-dired-functions.el")
:bind (:map dired-mode-map :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) ("e" . wdired-change-to-wdired-mode)
("c" . find-file) ("c" . find-file)
("RET" . dired-find-alternate-file) ("RET" . dired-find-alternate-file)
@ -260,7 +256,13 @@
(use-package dired+ (use-package dired+
:ensure t :ensure t
:init :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 ;; Evil Settings