From 37f8ca04f29ea9bf988b2277c42f3e264d7a89e1 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 23 Jan 2020 13:50:18 +0000 Subject: [PATCH] Update dired-mode-map KBDs - Ensure `""` is available for my "leader" KBDs - Define `"o"` as `#'dired-find-file-other-window` --- configs/shared/.emacs.d/wpc/packages/wpc-dired.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-dired.el b/configs/shared/.emacs.d/wpc/packages/wpc-dired.el index 13aed975d..90ac5f4a6 100644 --- a/configs/shared/.emacs.d/wpc/packages/wpc-dired.el +++ b/configs/shared/.emacs.d/wpc/packages/wpc-dired.el @@ -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 + "" 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 "..")))