mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-29 06:09:35 -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('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