I have ctrl-tab (i.e. ^[[27;5;9~
) assigned to switch tabs in vim. It works directly under xterm
, but when I also run tmux
this sequence works only occasionally. I suppose it is because tmux
captures and does not forward that sequence.
Is this a bug or am I using it wrong? My config:
unbind C-b
set-option -g prefix C-a
bind-key a send-prefix
bind-key C-a last-window
set -g base-index 1
set -s escape-time 0
set -g status-bg red
set -g status-right '#(date)'
setw -g window-status-current-attr underscore
setw -g mode-mouse off
setw -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind y run-shell -b "tmux save-buffer - | xclip -i -selection clipboard"
# Experimental below
set -g terminal-overrides 'xterm:colors=256'