fix arrow handling in tmux

This commit is contained in:
Guillaume Castagnino 2021-10-25 16:56:25 +02:00
parent ae43804ed1
commit afde370207

8
vimrc
View file

@ -46,6 +46,14 @@ autocmd BufReadPost *
\ endif |
\ endif
if &term =~ '^screen'
" tmux will send xterm-style keys when its xterm-keys option is on
execute "set <xUp>=\e[1;*A"
execute "set <xDown>=\e[1;*B"
execute "set <xRight>=\e[1;*C"
execute "set <xLeft>=\e[1;*D"
endif
""""""""""""""""""""
" ftplugin tunning "
""""""""""""""""""""