aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-31 05:54:44 -0500
committerCraig Jennings <c@cjennings.net>2025-10-31 05:55:28 -0500
commit908c4e45c20e3f16832dfa1252f5f01741406858 (patch)
tree7a77abacd1b067f83619a959c2ea700ff41a98b8 /modules
parenteb0bd2e4a0592aaae2825548b594b2b3c579c0b6 (diff)
downloaddotemacs-908c4e45c20e3f16832dfa1252f5f01741406858.tar.gz
dotemacs-908c4e45c20e3f16832dfa1252f5f01741406858.zip
feat:custom-buffer-file: add mark, revert buffer keybindings
Added new keybindings for marking the whole buffer and reverting the buffer. Updated the descriptions to reflect these additions.
Diffstat (limited to 'modules')
-rw-r--r--modules/custom-buffer-file.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/custom-buffer-file.el b/modules/custom-buffer-file.el
index 9438e8ed..2fe8847f 100644
--- a/modules/custom-buffer-file.el
+++ b/modules/custom-buffer-file.el
@@ -233,7 +233,9 @@ Do not save the deleted text in the kill ring."
"t" #'cj/clear-to-top-of-buffer
"b" #'cj/clear-to-bottom-of-buffer
"x" #'erase-buffer
- "s" #'write-file ;; save as
+ "s" #'mark-whole-buffer
+ "S" #'write-file ;; save as
+ "g" #'revert-buffer
"l" #'cj/copy-link-to-buffer-file
"P" #'cj/copy-path-to-buffer-file-as-kill)
@@ -251,7 +253,9 @@ Do not save the deleted text in the kill ring."
"C-; b t" "clear to top"
"C-; b b" "clear to bottom"
"C-; b x" "erase buffer"
- "C-; b s" "save as"
+ "C-; b s" "select whole buffer"
+ "C-; b S" "save as"
+ "C-; b g" "revert buffer"
"C-; b l" "copy file link"
"C-; b P" "copy file path"))