mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Remove some stuff that checks for neovim since we know we're using neovim
This commit is contained in:
parent
b3eef281d1
commit
bd6f2e9dca
1 changed files with 2 additions and 19 deletions
|
@ -14,28 +14,11 @@
|
||||||
set backspace=indent,eol,start "enables/configures standard backspace behaviour
|
set backspace=indent,eol,start "enables/configures standard backspace behaviour
|
||||||
|
|
||||||
"use the '*' register as well as the '+' register if it's available too
|
"use the '*' register as well as the '+' register if it's available too
|
||||||
set clipboard=unnamed
|
|
||||||
|
|
||||||
if has('unnamedplus')
|
if has('unnamedplus')
|
||||||
if has('nvim')
|
|
||||||
set clipboard=unnamedplus
|
set clipboard=unnamedplus
|
||||||
else
|
|
||||||
set clipboard+=unnamedplus
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if has('nvim')
|
|
||||||
"extend selection instead of showing the right click menu in neovim
|
|
||||||
set mousemodel=extend
|
|
||||||
else
|
|
||||||
"fancy mouse in vim reporting with xterm2 fallback
|
|
||||||
if has("mouse_sgr")
|
|
||||||
set ttymouse=sgr
|
|
||||||
else
|
|
||||||
set ttymouse=xterm2
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
set mousemodel=extend "extend selection instead of showing the right click menu in neovim
|
||||||
set mouse=a "enables mouse functionality with extended capabilities
|
set mouse=a "enables mouse functionality with extended capabilities
|
||||||
|
|
||||||
"8 colours in $TERM=linux, 256 elsewhere
|
"8 colours in $TERM=linux, 256 elsewhere
|
||||||
|
|
Loading…
Reference in a new issue