dired: separate definition of dired-x bindings

This commit is contained in:
Frédéric Giquel 2022-05-23 15:24:50 +02:00 committed by James
parent 763e77f4b3
commit 8187b18e8f
1 changed files with 7 additions and 3 deletions

View File

@ -103,9 +103,6 @@
"*/" 'dired-mark-directories
"*@" 'dired-mark-symlinks
"*%" 'dired-mark-files-regexp
"*(" 'dired-mark-sexp
"*." 'dired-mark-extension
"*O" 'dired-mark-omitted
"*c" 'dired-change-marks
"*s" 'dired-mark-subdir-files
"*m" 'dired-mark
@ -193,6 +190,13 @@
";s" 'epa-dired-do-sign
";e" 'epa-dired-do-encrypt)
;; dired-x commands
(with-eval-after-load 'dired-x
(evil-collection-define-key 'normal 'dired-mode-map
"*(" 'dired-mark-sexp
"*." 'dired-mark-extension
"*O" 'dired-mark-omitted))
;; dired-narrow commands
(with-eval-after-load 'dired-narrow
(evil-collection-define-key 'normal 'dired-mode-map