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 | eb793eca294fdef76898fb491d179340c5c51ef5 (patch) | |
| tree | 9dd87fb1f4e9b712f10451543e19e0ab9e3bf71d /modules/custom-buffer-file.el | |
| parent | d5406e3c2179d879590007311da0aff7ed4706af (diff) | |
| download | dotemacs-eb793eca294fdef76898fb491d179340c5c51ef5.tar.gz dotemacs-eb793eca294fdef76898fb491d179340c5c51ef5.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 |
