Re: Mapping meta key within tmux in vim

2013-07-15 Thread Marco
Hi, I got it working now. The solution is to use set -g xterm-keys on and mappings like these [1;3A, [1;3B, … Thanks to everyone! Marco -- See everything from the browser to the database with AppDynamics Get end-to

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Marco
On 2013–07–14 Nicholas Marriott wrote: > Either do without C-Tab C-Tab is more important than Meta-, so I'll leave the xterm style on. > or bind the arrow keys differently in vim or whatever you are > using. I have no clue how to do that. That's why I'm asking here and on the vim list. Marco

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Saad Malik
Yah all on one line. My windows Mintty terminals doesn't send the correct keycodes for Ctrl-1..9 with XT in terminal-overrides. Anyway, good luck On Sun, Jul 14, 2013 at 12:09 PM, Marco wrote: > On 2013–07–14 Saad Malik wrote: > > > It's a long shot, but try removing the 'XT' from terminal-ove

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Nicholas Marriott
pping meta key within tmux in vim On 2013–07–14 Nicholas Marriott wrote: > Turn it off if you don't want xterm style arrow keys. As I said, if I turn it off, my ctrl-tab mappings don't work any more. How can I map ctrl-tab without xterm style keys? At the moment I use xterm style and

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Marco
On 2013–07–14 Saad Malik wrote: > It's a long shot, but try removing the 'XT' from terminal-overrides. Add > this to your .tmux.conf: > > set -g terminal-overrides > "xterm*:smcup@:rmcup@:Ms=\\E]52;%p1%s;%p2%s\\007:Ss=\\E[%p1%d > q:Se=\\E[0 q" This didn't work. I still can't map alt-. I joined t

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Marco
On 2013–07–14 Nicholas Marriott wrote: > Turn it off if you don't want xterm style arrow keys. As I said, if I turn it off, my ctrl-tab mappings don't work any more. How can I map ctrl-tab without xterm style keys? At the moment I use xterm style and have the following mappings. noremap [27;5;

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Saad Malik
Original message > From: Marco > Date: 14/07/2013 19:03 (GMT+01:00) > To: tmux > Subject: Re: Mapping meta key within tmux in vim > > > On 2013–07–14 Nicholas Marriott wrote: > > > Did you turn on xterm-key

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Saad Malik
ys. >> >> >> >> Original message ---- >> From: Marco >> Date: 14/07/2013 19:03 (GMT+01:00) >> To: tmux >> Subject: Re: Mapping meta key within tmux in vim >> >> >>

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Nicholas Marriott
Turn it off if you don't want xterm style arrow keys. Original message From: Marco Date: 14/07/2013 19:03 (GMT+01:00) To: tmux Subject: Re: Mapping meta key within tmux in vim On 2013–07–14 Nicholas Marriott wrote: > Did you turn on xterm-keys? Yes, I did. O

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Marco
On 2013–07–14 Nicholas Marriott wrote: > Did you turn on xterm-keys? Yes, I did. Otherwise my ctrl-tab mappings won't work. Marco -- See everything from the browser to the database with AppDynamics Get end-to-end visib

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Nicholas Marriott
Did you turn on xterm-keys? Original message From: Marco Date: 14/07/2013 15:39 (GMT+01:00) To: tmux Subject: Mapping meta key within tmux in vim Hi, I raised this issue already on the vim mailing list¹ without finding a solution. There are probably plenty of vim

Mapping meta key within tmux in vim

2013-07-14 Thread Marco
Hi, I raised this issue already on the vim mailing list¹ without finding a solution. There are probably plenty of vim users on this list. Maybe someone knows how to tackle this. I have mappings in my .vimrc that map the Meta-arrow keys noremap + noremap - This works fine in console vim,