summaryrefslogtreecommitdiff
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
commit42a649d38043dfe5aee15e3fc2d6dcce4483cd40 (patch)
tree973e7c3ac6d9cc928d32b2e5821f6111078a6c21 /modules/custom-buffer-file.el
parent1752c6e58906721a47afc56e357b7fb1c0c8a5a1 (diff)
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. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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 8825fdd6..b5740cd2 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"