2017-10-24 09:39:53 +00:00
|
|
|
set guioptions-=T
|
|
|
|
set guioptions-=m
|
2017-11-16 13:09:18 +00:00
|
|
|
set guioptions-=e
|
2017-10-24 09:39:53 +00:00
|
|
|
|
2017-12-19 14:46:02 +00:00
|
|
|
set cursorline " Highlight cursor line
|
|
|
|
|
2018-10-22 08:30:58 +00:00
|
|
|
let g:only_generic_hl=1
|
|
|
|
|
|
|
|
com! Dark silent! let g:colors_name_bak = g:colors_name
|
|
|
|
\ | set bg=dark
|
|
|
|
\ | let ayucolor="dark"
|
|
|
|
\ | let g:arcadia_Daybreak=0
|
|
|
|
\ | let g:arcadia_Midnight=1
|
|
|
|
\ | let g:alduin_Shout_Become_Ethereal=1
|
|
|
|
\ | silent! exec "colorscheme ".g:colors_name_bak
|
|
|
|
\ | silent! delc PaperColor
|
|
|
|
com! Light silent! let g:colors_name_bak = g:colors_name
|
|
|
|
\ | set bg=light
|
|
|
|
\ | let ayucolor="light"
|
|
|
|
\ | let g:arcadia_Daybreak=1
|
|
|
|
\ | let g:arcadia_Midnight=0
|
|
|
|
\ | let g:alduin_Shout_Become_Ethereal=0
|
|
|
|
\ | silent! exec "colorscheme ".g:colors_name_bak
|
|
|
|
\ | silent! delc PaperColor
|
|
|
|
|
|
|
|
com! Ayu colorscheme ayu
|
|
|
|
com! Arcadia colorscheme arcadia
|
|
|
|
com! Alduin colorscheme alduin
|
|
|
|
com! Moria colorscheme moria
|
|
|
|
com! Molokai colorscheme molokai
|
|
|
|
com! Iceberg colorscheme iceberg
|
|
|
|
com! Papercolor colorscheme papercolor | delc PaperColor
|
|
|
|
com! Firewatch colorscheme two-firewatch
|
|
|
|
|
|
|
|
if !exists('g:colors_name')
|
|
|
|
if &diff
|
|
|
|
Moria
|
|
|
|
else
|
|
|
|
Dark
|
|
|
|
Ayu
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if has("unix")
|
2018-10-24 07:49:11 +00:00
|
|
|
let g:font_temp="\\\\\\@<! \\zs\\d\\+"
|
2018-10-22 08:30:58 +00:00
|
|
|
elseif has("win32")
|
|
|
|
let g:font_temp=".*:h\\zs\\d\\+"
|
|
|
|
set linespace=0
|
|
|
|
end
|
2018-10-22 08:39:14 +00:00
|
|
|
let s:fontsize = match(&guifont, "")
|
|
|
|
|
|
|
|
function! SetFontSize(size)
|
|
|
|
if exists("g:font_temp")
|
|
|
|
let &guifont=substitute(&guifont, g:font_temp, a:size, "g")
|
|
|
|
end
|
|
|
|
endfun
|
2018-10-22 08:30:58 +00:00
|
|
|
|
|
|
|
command! -nargs=1 SetFontSize call SetFontSize(<f-args>)
|
|
|
|
command! ResetFontSize call SetFontSize(s:fontsize)
|