Set ttymouse if vim is not neovim (for neovim compatibility)

This commit is contained in:
Kevin MacMartin 2015-06-24 10:25:31 -04:00
parent cdaecbd7a9
commit e103a14094

View file

@ -28,7 +28,9 @@
if has('unnamedplus')|set clipboard+=unnamedplus|endif
"fancy mouse reporting with xterm2 fallback
if !has('nvim')
if has("mouse_sgr")|set ttymouse=sgr|else|set ttymouse=xterm2|endif
endif
set mouse=a "enables mouse functionality with extended capabilities
"8 colours in $TERM=linux, 256 elsewhere