fix arrow handling in tmux
This commit is contained in:
parent
ae43804ed1
commit
afde370207
8
vimrc
8
vimrc
|
@ -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 "
|
||||
""""""""""""""""""""
|
||||
|
|
Loading…
Reference in a new issue