about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el')
-rw-r--r--configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el
index 1c45ec35e2b4..6639ea530604 100644
--- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el
+++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-dired.el
@@ -7,12 +7,16 @@
 ;;; Code:
 
 (require 'dired)
-(general-def 'dired-mode-map
-    "c" 'find-file
-    "f" 'wpc/find-file
-    "-" 'dired-up-directory)
+(general-nmap
+  :keymaps 'dired-mode-map
+  "c" #'find-file
+  "f" #'wpc/find-file
+  "-" #'dired-up-directory)
+(general-unbind
+  :keymaps 'dired-mode-map
+  "s")
 (general-add-hook 'dired-mode-hook (list (enable dired-hide-details-mode)
                                          #'auto-revert-mode))
 
 (provide 'wpc-dired)
-;;; dired.el ends here
+;;; wpc-dired.el ends here