aboutsummaryrefslogtreecommitdiff
path: root/modules/dirvish-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-29 13:14:00 -0500
committerCraig Jennings <c@cjennings.net>2025-10-29 13:14:00 -0500
commit65795334fa9d1fa4707df5caf9a07e3fb7be570b (patch)
tree5c1e5659a2566391aaf3aa51873e0d54494f27a0 /modules/dirvish-config.el
parenteb2fcf5731d8f6ee65371b6c220aefd81e7ec91f (diff)
downloaddotemacs-65795334fa9d1fa4707df5caf9a07e3fb7be570b.tar.gz
dotemacs-65795334fa9d1fa4707df5caf9a07e3fb7be570b.zip
fix(dirvish): move deadgrep from D to G, preserve dired-do-delete on D
The previous commit incorrectly moved deadgrep to 'D', which conflicts with the important dired-do-delete command (immediate delete of marked files). This commit moves deadgrep to 'G' instead. ## Changes **prog-general.el:** - Move cj/deadgrep-here from 'D' to 'G' (was dired-do-chgrp, rarely used) **dirvish-config.el:** - Updated Commentary to document both 'D' and 'G' keybindings - 'D' remains dired-do-delete (standard dired immediate delete) - 'G' is now deadgrep search ## Final Keybinding Map | Key | Binding | Purpose | |-----|-------------------------------|--------------------------------| | d | cj/dirvish-duplicate-file | Duplicate with "-copy" suffix | | D | dired-do-delete | Delete marked files (standard) | | g | dirvish-quick-access | Quick directory menu | | G | cj/deadgrep-here | Search with deadgrep | Capital G is mnemonic for "Grep" and doesn't conflict with important dired commands. dired-do-chgrp is rarely used and not a loss.
Diffstat (limited to 'modules/dirvish-config.el')
-rw-r--r--modules/dirvish-config.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/dirvish-config.el b/modules/dirvish-config.el
index 6c92db09c..0534823a4 100644
--- a/modules/dirvish-config.el
+++ b/modules/dirvish-config.el
@@ -9,7 +9,9 @@
;;
;; Key Bindings:
;; - d: Duplicate file at point (adds "-copy" before extension)
+;; - D: Delete marked files immediately (dired-do-delete)
;; - g: Quick access menu (jump to predefined directories)
+;; - G: Search with deadgrep in current directory
;; - f: Open system file manager in current directory
;; - o/O: Open file with xdg-open/custom command
;; - l: Copy file path (project-relative or home-relative)