我正在尝试以 vim 友好的方式使用 tmux(在 xterm 中)。这是我现在的 .tmux.conf。
bind-key -n M-Down select-pane -D
bind-key -n M-Up select-pane -U
bind-key -n M-Left select-pane -L
bind-key -n M-Right select-pane -R
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-l select-pane -L
bind-key -n M-h select-pane -R
bind-key -n S-M-Right next-window
bind-key -n S-M-Left previous-window
bind-key -n S-M-Up split-window -h -c "#{pane_current_path}"
bind-key -n S-M-Down split-window -v -c "#{pane_current_path}"
// these do not work
bind-key -n S-M-l next-window
bind-key -n …
Run Code Online (Sandbox Code Playgroud)