From 93b033a313c5a7ad56293c192ef69b567d344178 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 7 May 2026 19:25:22 -0500 Subject: refactor(ui-navigation): drop redundant M-S-s window-swap binding `window-swap-states` on M-S-s overlapped with `buffer-move` (C-M-arrows), which I actually use. I cleared the binding plus the M-S -> M-S-s translation in keyboard-compat.el so the keyboard table stays in sync. --- modules/keyboard-compat.el | 2 -- modules/ui-navigation.el | 3 --- 2 files changed, 5 deletions(-) (limited to 'modules') diff --git a/modules/keyboard-compat.el b/modules/keyboard-compat.el index b914978f..b8e91dd8 100644 --- a/modules/keyboard-compat.el +++ b/modules/keyboard-compat.el @@ -73,7 +73,6 @@ ;; M-V -> M-S-v cj/split-and-follow-right (ui-navigation.el) ;; M-H -> M-S-h cj/split-and-follow-below (ui-navigation.el) ;; M-T -> M-S-t toggle-window-split (ui-navigation.el) -;; M-S -> M-S-s window-swap-states (ui-navigation.el) ;; M-Z -> M-S-z cj/undo-kill-buffer (ui-navigation.el) ;; M-U -> M-S-u winner-undo (ui-navigation.el) ;; M-D -> M-S-d dwim-shell-commands-menu (dwim-shell-config.el) @@ -159,7 +158,6 @@ Meta+Shift+letter triggers M-S-letter keybindings." (define-key key-translation-map (kbd "M-V") (kbd "M-S-v")) (define-key key-translation-map (kbd "M-H") (kbd "M-S-h")) (define-key key-translation-map (kbd "M-T") (kbd "M-S-t")) - (define-key key-translation-map (kbd "M-S") (kbd "M-S-s")) (define-key key-translation-map (kbd "M-Z") (kbd "M-S-z")) (define-key key-translation-map (kbd "M-U") (kbd "M-S-u")) (define-key key-translation-map (kbd "M-D") (kbd "M-S-d")) diff --git a/modules/ui-navigation.el b/modules/ui-navigation.el index 8248bab6..b99a9cac 100644 --- a/modules/ui-navigation.el +++ b/modules/ui-navigation.el @@ -103,9 +103,6 @@ This function won't work with more than one split window." (if this-win-2nd (other-window 1)))))) (keymap-global-set "M-S-t" #'toggle-window-split) ;; was M-T, overrides transpose-words -;; SWAP WINDOW POSITIONS -(keymap-global-set "M-S-s" #'window-swap-states) ;; was M-S - ;; ---------------------------- Buffer Manipulation ---------------------------- ;; MOVE BUFFER -- cgit v1.2.3