From 42a649d38043dfe5aee15e3fc2d6dcce4483cd40 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 24 Nov 2025 03:36:01 -0800 Subject: refactor(keybindings): reorganize time-zones and kill-buffer-and-window bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/undead-buffers.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/undead-buffers.el') 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." -- cgit v1.2.3