8
7
I have been playing with tmux and I'm loving it. However, there's an annoying issue when running vim inside it.
Somehow the arrow keys get remapped, but only on certain times, like when firing up Command-T, if I try to scroll down the file list, the command is cancelled and I'm thrown into insert mode, and depending on the arrow key I pressed, an A, B, C, or D is inserted.
If I use the arrows to move through a buffer for example, they work properly.
Any ideas?
Thanks!
1What is
$TERM
outsidetmux
? What about inside? It sounds like something is going on with application and normal keypad modes. – Paused until further notice. – 2011-01-25T20:26:10.990Outside tmux: xterm, inside: screen... so if I run
TERM=screen vim
I see the same behavior, so I must fix screen? – Ivan – 2011-01-26T00:49:19.907