mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-26 00:01:27 -05:00
Set ttymouse if vim is not neovim (for neovim compatibility)
This commit is contained in:
parent
cdaecbd7a9
commit
e103a14094
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@
|
|||
if has('unnamedplus')|set clipboard+=unnamedplus|endif
|
||||
|
||||
"fancy mouse reporting with xterm2 fallback
|
||||
if has("mouse_sgr")|set ttymouse=sgr|else|set ttymouse=xterm2|endif
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue