diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-13 12:12:32 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-13 12:12:32 -0500 |
| commit | 94b3f47c7d6db3004c9e2b533138e6d304c16997 (patch) | |
| tree | cec2f469a73c55a1b4c2184d7232337bec75b96c /modules/custom-buffer-file.el | |
| parent | 03b41221697dcf9c29358d404a0529397ea5d8f7 (diff) | |
| download | dotemacs-94b3f47c7d6db3004c9e2b533138e6d304c16997.tar.gz dotemacs-94b3f47c7d6db3004c9e2b533138e6d304c16997.zip | |
fix(keys): destructive delete on capital D, diff on lowercase d
C-; b d now runs cj/diff-buffer-with-file (the op I hit most, comparing a buffer against the saved file) and C-; b D runs cj/delete-buffer-and-file. The destructive command sat on the easy lowercase key and diff on the capital. A keymap-lookup test guards the swap.
Diffstat (limited to 'modules/custom-buffer-file.el')
| -rw-r--r-- | modules/custom-buffer-file.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/custom-buffer-file.el b/modules/custom-buffer-file.el index 25b4a418e..84faf01d8 100644 --- a/modules/custom-buffer-file.el +++ b/modules/custom-buffer-file.el @@ -512,8 +512,8 @@ Signals an error if: "m" #'cj/move-buffer-and-file "r" #'cj/rename-buffer-and-file "p" #'cj/copy-buffer-source-as-kill - "d" #'cj/delete-buffer-and-file - "D" #'cj/diff-buffer-with-file + "d" #'cj/diff-buffer-with-file + "D" #'cj/delete-buffer-and-file "c" cj/copy-buffer-content-map "n" #'cj/copy-buffer-name "l" #'cj/copy-link-to-buffer-file |
