summaryrefslogtreecommitdiff
path: root/modules/undead-buffers.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/undead-buffers.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/undead-buffers.el')
-rw-r--r--modules/undead-buffers.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/undead-buffers.el b/modules/undead-buffers.el
index 50c9bb9c..fa09e04a 100644
--- a/modules/undead-buffers.el
+++ b/modules/undead-buffers.el
@@ -2,12 +2,12 @@
;;; Commentary:
;;
-;; This library allows for “burying” selected buffers instead of killing them.
+;; This library allows for "burying" selected buffers instead of killing them.
;; Since they won't be killed, I'm calling them "undead buffers".
;; The main function cj/kill-buffer-or-bury-alive replaces kill-buffer.
;;
;; Additional helper commands and key bindings:
-;; - M-C (=cj/kill-buffer-and-window=): delete this window and bury/kill its buffer.
+;; - C-; b k (=cj/kill-buffer-and-window=): delete this window and bury/kill its buffer.
;; - M-O (=cj/kill-other-window=): delete the next window and bury/kill its buffer.
;; - M-M (=cj/kill-all-other-buffers-and-windows=): kill or bury all buffers except
;; the current one and delete all other windows.
@@ -65,7 +65,7 @@ ARG is passed to `save-some-buffers'."
(unless (one-window-p)
(delete-window))
(cj/kill-buffer-or-bury-alive buf)))
-(keymap-global-set "M-C" #'cj/kill-buffer-and-window)
+;; Keybinding moved to custom-buffer-file.el (C-; b k)
(defun cj/kill-other-window ()
"Delete the next window and kill or bury its buffer."