M-Right reserved for vim's Copilot accept word-by-word
dblume

dblume commited on 2025-07-18 19:24:11
Showing 1 changed files, with 3 additions and 5 deletions.


I wasn't using M-Arrow keys to navigate panes anyway.
M-hjkl for the win.
... ...
@@ -37,11 +37,9 @@ bind -n M-j select-pane -D
37 37
 bind -n M-k select-pane -U
38 38
 bind -n M-l select-pane -R
39 39
 
40
-# Use Alt-arrow keys without prefix key to switch panes
41
-bind -n M-Left select-pane -L
42
-bind -n M-Right select-pane -R
43
-bind -n M-Up select-pane -U
44
-bind -n M-Down select-pane -D
40
+# (Removed) Use Alt-arrow keys without prefix key to switch panes
41
+# Note vim's Copilot plugin uses M-Right for "accept suggested word"
42
+#bind -n M-Right select-pane -R
45 43
 
46 44
 # Use prefix-! to break-pane a pane into a new window.
47 45
 # Use these to join another pane to this window (choosing which pane).
48 46