From 89b4bbea46d2959a07e012fb9ea04e1d986d19ab Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 31 Oct 2025 05:54:44 -0500 Subject: 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. --- modules/custom-buffer-file.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/custom-buffer-file.el') 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")) -- cgit v1.2.3