Set the clipboard whenever available
This commit is contained in:
parent
9aa76ed943
commit
2ddbc3a065
1 changed files with 4 additions and 2 deletions
6
vimrc
6
vimrc
|
@ -238,16 +238,18 @@ if has('autocmd')
|
||||||
autocmd BufRead,BufNewFile *.yml set et sw=2
|
autocmd BufRead,BufNewFile *.yml set et sw=2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if has('clipboard')
|
||||||
|
set clipboard=unnamedplus
|
||||||
|
endif
|
||||||
|
|
||||||
if has('folding')
|
if has('folding')
|
||||||
set nofoldenable
|
set nofoldenable
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if has('gui_running')
|
if has('gui_running')
|
||||||
if has('gui_gtk')
|
if has('gui_gtk')
|
||||||
set clipboard=unnamedplus
|
|
||||||
set guifont=Monospace\ 10
|
set guifont=Monospace\ 10
|
||||||
elseif has('gui_win32')
|
elseif has('gui_win32')
|
||||||
set clipboard=unnamed
|
|
||||||
set guifont=Cascadia_Mono_SemiLight:h10:W350:cANSI:qDRAFT
|
set guifont=Cascadia_Mono_SemiLight:h10:W350:cANSI:qDRAFT
|
||||||
set rop=type:directx
|
set rop=type:directx
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue