Update dired-mode-map KBDs

- Ensure `"<SPC>"` is available for my "leader" KBDs
- Define `"o"` as `#'dired-find-file-other-window`
This commit is contained in:
William Carroll 2020-01-23 13:50:18 +00:00
parent df112d34b6
commit 37f8ca04f2

View file

@ -18,9 +18,11 @@
dired-dwim-target t)
(general-define-key
:keymaps 'dired-mode-map
:states 'normal
"s" nil
"q" (lambda () (interactive) (kill-buffer nil))
:states '(normal)
;; Overriding some KBDs defined in the evil-collection module.
"o" #'dired-find-file-other-window
"<SPC>" nil ;; This unblocks some of my leader-prefixed KBDs.
"s" nil ;; This unblocks my window-splitting KBDs.
"c" #'find-file
"f" #'wpc/find-file
"-" (lambda () (interactive) (find-alternate-file "..")))