Re: Key binding problem

2011-04-11 Thread Nicholas Marriott
Well, unless you are typing $ after pressing M-2 it should still see it as \e2 even if there is a terminfo entry, I'll have to test it. On Sat, Apr 09, 2011 at 06:29:22PM +0200, Ton van den Heuvel wrote: > Yes I did set escape-time to zero to prevent a slight delay when > switching modes in Vim (

Re: Key binding problem

2011-04-09 Thread Ton van den Heuvel
Yes I did set escape-time to zero to prevent a slight delay when switching modes in Vim (I haven't figured out any other way to prevent the delay). It seems there was a problem with the way kIC is defined in the urxvt terminfo file: http://us.generation-nt.com/bug-446444-john-e-davis-bug-446444-w

Re: Key binding problem

2011-04-09 Thread Nicholas Marriott
You haven't changed escape-time have you? \e2 is the start if kIC with rxvt-unicode so there will be a delay before tmux detects it as M-2 but it should still work. Please use rxvt-unicode-256color, send the output of "tmux info" and also kill tmux entirely, run it with -v, press M-2 a couple

Re: Key binding problem

2011-04-09 Thread Ton van den Heuvel
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-unicode-256color rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System), am

Re: Key binding problem

2011-04-09 Thread Nicholas Marriott
Please send the output of "infocmp rxvt-unicode-256color" and "infocmp xterm". On Sat, Apr 09, 2011 at 05:02:53PM +0200, 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

Key binding problem

2011-04-09 Thread Ton van den Heuvel
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 of these bindings work. Starting tmux us