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
You can either have xterm style keys or not. You can't have some and not others. Either do without C-Tab or bind the arrow keys differently in vim or whatever you are using. Original message From: Marco Date: 14/07/2013 21:07 (GMT+01:00) To: tmux Subject: Re: Mapping met

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
It's a long shot, but try removing the 'XT' from terminal-overrides. Add this to your .tmux.conf: On Sun, Jul 14, 2013 at 11:03 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Turn it off if you don't want xterm style arrow keys. > > > > Original message > From:

Re: Mapping meta key within tmux in vim

2013-07-14 Thread Saad Malik
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" On Sun, Jul 14, 2013 at 11:46 AM, Saad Malik wrote: > It's a long shot, but try removing the

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. Otherwise m

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 users

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,

what about.. UI overlays / windows?

2013-07-14 Thread Marcel Partap
Salut, recently it occurred to me several times (f.e. when looking up list-keys or choose-tree, also while using autocomplete for these commands): how useful would it be to have a floating tmux overlay window framework of some sort... hey wait, it has. Curses is a hard dependency anyways, right