You will need to configure vim to recognise what tmux sends for these
keys. Setting TERM=tmux inside may do this, or you may need to tell it
explicitly.


On Wed, May 31, 2017 at 10:29:26AM +0200, Franky Spamschleuder wrote:
>    echo $TERM
>    screen-256color
>    2017-05-31 10:26 GMT+02:00 Nicholas Marriott
>    <[email protected]>:
> 
>      Do you have TERM=tmux inside tmux or TERM=screen?
> 
>      On Wed, May 31, 2017 at 10:17:57AM +0200, Franky Spamschleuder wrote:
>      >A  A  the Alt mappings do not work in vim running inside tmux
>      >A  A  just try the following:
>      >A  A  put these to your vim config:
>      >A  A  nnoremap <silent> <A-Up> AA  A :execute 'wincmd A k'<cr>
>      >A  A  nnoremap <silent> <A-Down> A :execute 'wincmd j'<cr>
>      >A  A  nnoremap <silent> <A-Left> A :execute 'wincmd h'<cr>
>      >A  A  nnoremap <silent> <A-Right> :execute 'wincmd l'<cr>
>      >A  A  run vim, do a split and try to switch with these bindings through
>      the
>      >A  A  windows
>      >A  A  2017-05-31 10:11 GMT+02:00 Nicholas Marriott
>      >A  A  <[email protected]>:
>      >
>      >A  A  A  Are you saying the keys don't work in tmux itself, or just in
>      vim inside
>      >A  A  A  tmux?
>      >
>      >A  A  A  On Wed, May 31, 2017 at 10:06:33AM +0200, Franky Spamschleuder
>      wrote:
>      >A  A  A  >AA  AA  konsole 17.04.1
>      >A  A  A  >AA  AA  2017-05-31 10:04 GMT+02:00 Nicholas Marriott
>      >A  A  A  >AA  AA  <[email protected]>:
>      >A  A  A  >
>      >A  A  A  >AA  AA  AA  What terminal?
>      >A  A  A  >AA  AA  AA  On 31 May 2017 9:02 am, "'Franky Spamschleuder'
>      via
>      >A  A  A  tmux-users"
>      >A  A  A  >AA  AA  AA  <[email protected]> wrote:
>      >A  A  A  >
>      >A  A  A  >AA  AA  AA  AA  Hi there,
>      >A  A  A  >AA  AA  AA  AA  I use alt arrow keys to navigate inside
>      windows in vim and
>      >A  A  A  the tmux
>      >A  A  A  >AA  AA  AA  AA  panes. Since I updated to tmux 2.5 this does
>      not work
>      >A  A  A  anymore.
>      >A  A  A  >AA  AA  AA  AA  Has it sth. to the with the Issue #907
>      mentioned in the
>      >A  A  A  changelog? How
>      >A  A  A  >AA  AA  AA  AA  can I fix this problem?
>      >A  A  A  >AA  AA  AA  AA  Thank you
>      >A  A  A  >AA  AA  AA  AA  Frank
>      >A  A  A  >
>      >A  A  A  >AA  AA  AA  AA  --
>      >A  A  A  >AA  AA  AA  AA  You received this message because you are
>      subscribed to the
>      >A  A  A  Google
>      >A  A  A  >AA  AA  AA  AA  Groups "tmux-users" group.
>      >A  A  A  >AA  AA  AA  AA  To unsubscribe from this group and stop
>      receiving emails
>      >A  A  A  from it, send
>      >A  A  A  >AA  AA  AA  AA  an email to
>      [email protected].
>      >A  A  A  >AA  AA  AA  AA  To post to this group, send email to
>      >A  A  A  [email protected].
>      >A  A  A  >AA  AA  AA  AA  For more options, visit
>      https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to