Commit 949a2f031d19

Vincent Demeester <vincent@sbr.pm>
2026-06-29 11:52:08
fix(emacs): pass shift-arrow keys through ghostel
Added S-arrow and M-S-arrow to ghostel-keymap-exceptions so windmove window switching works in ghostel buffers.
1 parent 2b4fae2
Changed files (1)
dots
config
emacs
dots/config/emacs/init.el
@@ -1026,6 +1026,11 @@ minibuffer, even without explicitly focusing it."
 (use-package ghostel
   :commands (ghostel)
   :bind ("C-c t g" . vde/ghostel-toggle)
+  :custom
+  (ghostel-keymap-exceptions
+   '("C-c" "C-x" "C-u" "C-h" "M-x" "M-:" "C-\\"
+     "S-<up>" "S-<down>" "S-<left>" "S-<right>"
+     "M-S-<up>" "M-S-<down>" "M-S-<left>" "M-S-<right>"))
   :config
   (defun vde/ghostel-buffer ()
     "Return the active ghostel buffer, or nil if none exists."