In case you are using urxvt, this is possible by defining keymappings
for urxvt that map to keys that can be bound for tmux. For example, to
map Mod4-j to move to the next pane, define a mapping from Mod4-j to
M-j for urxvt in .Xdefaults as follows:
URxvt.keysym.Mod4-j:\033j
Then, in tmux.conf
Hi,
I have setup Alt+1, Alt+2 etc. to switch windows, where Alt+1 switches
to the first window labeled '0'. A minor annoyance. I was wondering
whether it is possible to let window numbers start at 1?
Regards,
Ton
--
, Ton van den Heuvel wrote:
My .tmux.conf defines the following key bindings to switch windows:
bind -n M-1 select-window -t:1
bind -n M-2 select-window -t:2
bind -n M-3 select-window -t:3
bind -n M-4 select-window -t:4
In case tmux is started using gnome-terminal with TERM=xterm all
from the current directory.
On Sat, Apr 09, 2011 at 05:46:32PM +0200, Ton van den Heuvel wrote:
The output is the same for both terminals, and as expected: ^[2 (using
cat /dev/null).
infocmp rxvt-unicode-256color:
# Reconstructed via infocmp from file:
/usr/share/terminfo/r/rxvt