diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-31 05:54:44 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-31 05:55:28 -0500 |
| commit | 89b4bbea46d2959a07e012fb9ea04e1d986d19ab (patch) | |
| tree | 7a77abacd1b067f83619a959c2ea700ff41a98b8 /modules | |
| parent | c506f4a197f4018938369506d2ba9a779d096feb (diff) | |
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.el | 8 |
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")) |
