diff --git a/vimrc b/vimrc index e22af29..ef8081b 100644 --- a/vimrc +++ b/vimrc @@ -938,3 +938,14 @@ hi SignColumn cterm=none ctermbg=none " filetype plugin on +" +" I want to use Shift+Arrow in VIM +" http://superuser.com/questions/401926/how-to-get-shiftarrows-and-ctrlarrows-working-in-vim-in-tmux +" +if &term =~ '^screen' + " tmux will send xterm-style keys when its xterm-keys option is on + execute "set =\e[1;*A" + execute "set =\e[1;*B" + execute "set =\e[1;*C" + execute "set =\e[1;*D" +endif