Set the clipboard whenever available

This commit is contained in:
Anthony Rose 2024-05-24 11:49:53 +01:00
parent 9aa76ed943
commit 2ddbc3a065

6
vimrc
View file

@ -238,16 +238,18 @@ if has('autocmd')
autocmd BufRead,BufNewFile *.yml set et sw=2
endif
if has('clipboard')
set clipboard=unnamedplus
endif
if has('folding')
set nofoldenable
endif
if has('gui_running')
if has('gui_gtk')
set clipboard=unnamedplus
set guifont=Monospace\ 10
elseif has('gui_win32')
set clipboard=unnamed
set guifont=Cascadia_Mono_SemiLight:h10:W350:cANSI:qDRAFT
set rop=type:directx
endif