From 8187b18e8f97e8e9d8f8f3a361966074f682bb04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Giquel?= Date: Mon, 23 May 2022 15:24:50 +0200 Subject: [PATCH] dired: separate definition of dired-x bindings --- modes/dired/evil-collection-dired.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modes/dired/evil-collection-dired.el b/modes/dired/evil-collection-dired.el index a20b947..7d8d43a 100644 --- a/modes/dired/evil-collection-dired.el +++ b/modes/dired/evil-collection-dired.el @@ -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