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 | 06bdeff43dece2d45443eab580ce9bb42cbe2625 (patch) | |
| tree | 3a56bf87d6293d270dc6918d31a44c5003acb37a | |
| parent | 71c3a9212f63ff024e1fb234cdd894db4a19b330 (diff) | |
| download | dotemacs-06bdeff43dece2d45443eab580ce9bb42cbe2625.tar.gz dotemacs-06bdeff43dece2d45443eab580ce9bb42cbe2625.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.
| -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 9438e8ed0..2fe8847fe 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")) |
