Shift +矢印はtmuxでウィンドウを変更できません。

Shift +矢印はtmuxでウィンドウを変更できません。

tmuxでWindowsを変更するためにShift + left / Shift + Rightバインディングを試しましたが、うまくいきません。 Alt+矢印を押すとうまく動作します。試験を終えた

bind -n S-left  prev
bind -n S-right next

そして

bind -n S-Left  previous-window
bind -n S-Right next-window  

しかし、それらのどれも動作しません。しかし、

bind-key -n M-Right next-window
bind-key -n M-Left previous-window 

完璧に動作します。私はDebianでKonsoleを使用しています。これは私の.tmux.confです。

# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-Space
bind-key C-Space send-prefix
set -g default-terminal "screen-256color"
set -g mouse on
set -g terminal-overrides "xterm-color256:smcup@:rmcup@"
bind -n S-Left  previous-window
bind -n S-Right next-window   

ベストアンサー1

問題は、バインディングがすでに konsole で使用されており、konsole で変更するとすぐに tmux で動作を開始することです。

おすすめ記事