aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-buffer-file.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-24 03:36:01 -0800
committerCraig Jennings <c@cjennings.net>2025-11-24 03:36:01 -0800
commit92a59afd0f26e44638aa115f4d5e3c9e3883bde6 (patch)
treee68f0f62529cc92bd64be9ab5e40704946d5e538 /modules/custom-buffer-file.el
parent6fe38af3a392204f2b9a7e668583f68e6ad054c8 (diff)
downloaddotemacs-92a59afd0f26e44638aa115f4d5e3c9e3883bde6.tar.gz
dotemacs-92a59afd0f26e44638aa115f4d5e3c9e3883bde6.zip
refactor(keybindings): reorganize time-zones and kill-buffer-and-window bindings
Move time-zones from C-x c to M-C for easier access. Move cj/kill-buffer-and-window from M-C to C-; b k to group with other buffer operations. Updated documentation and which-key labels.
Diffstat (limited to 'modules/custom-buffer-file.el')
-rw-r--r--modules/custom-buffer-file.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/custom-buffer-file.el b/modules/custom-buffer-file.el
index 8825fdd61..b5740cd20 100644
--- a/modules/custom-buffer-file.el
+++ b/modules/custom-buffer-file.el
@@ -16,6 +16,7 @@
;; and prints with face/syntax highlighting.
;;
;; Keybindings under ~C-; b~:
+;; - ~C-; b k~ kill buffer and window (delete window, kill/bury buffer)
;; - Copy buffer content submenu at ~C-; b c~
;; - ~C-; b c w~ copy whole buffer
;; - ~C-; b c t~ copy from beginning to point
@@ -337,6 +338,7 @@ Signal an error if the buffer is not visiting a file."
"c" cj/copy-buffer-content-map
"n" #'cj/copy-buffer-name
"l" #'cj/copy-link-to-buffer-file
+ "k" #'cj/kill-buffer-and-window
"P" #'cj/print-buffer-ps
"t" #'cj/clear-to-top-of-buffer
"b" #'cj/clear-to-bottom-of-buffer
@@ -360,6 +362,7 @@ Signal an error if the buffer is not visiting a file."
"C-; b c t" "copy to top"
"C-; b n" "copy buffer name"
"C-; b l" "copy file link"
+ "C-; b k" "kill buffer and window"
"C-; b P" "print to PS"
"C-; b t" "clear to top"
"C-; b b" "clear to bottom"