diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-07 19:25:22 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-07 19:25:22 -0500 |
| commit | 93b033a313c5a7ad56293c192ef69b567d344178 (patch) | |
| tree | 04dd27a6d72aa0399b1eb4933bc8edf31cb15e65 | |
| parent | 47b218ed15acd00c18cbc3bef604c4f2e0050a08 (diff) | |
| download | dotemacs-93b033a313c5a7ad56293c192ef69b567d344178.tar.gz dotemacs-93b033a313c5a7ad56293c192ef69b567d344178.zip | |
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.
| -rw-r--r-- | modules/keyboard-compat.el | 2 | ||||
| -rw-r--r-- | modules/ui-navigation.el | 3 |
2 files changed, 0 insertions, 5 deletions
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 |
