dotar/vim/settings/yadr-appearance.vim

32 lines
795 B
VimL
Raw Normal View History

2017-08-01 22:49:41 +08:00
" Make it beautiful - colors and fonts
2013-04-07 23:38:25 +08:00
2017-08-01 22:49:41 +08:00
if has("gui_running")
"tell the term has 256 colors
set t_Co=256
2017-08-01 22:49:41 +08:00
" Show tab number (useful for Cmd-1, Cmd-2.. mapping)
" For some reason this doesn't work as a regular set command,
" (the numbers don't show up) so I made it a VimEnter event
autocmd VimEnter * set guitablabel=%N:\ %t\ %M
2017-08-01 22:49:41 +08:00
set lines=60
set columns=190
2017-08-01 22:49:41 +08:00
if has("gui_gtk2")
set guifont=Inconsolata\ XL\ 12,Inconsolata\ 15,Monaco\ 12
else
set guifont=Inconsolata\ XL:h17,Inconsolata:h20,Monaco:h17
end
else
let g:CSApprox_loaded = 1
2017-08-01 22:49:41 +08:00
" For people using a terminal that is not Solarized
if exists("g:yadr_using_unsolarized_terminal")
let g:solarized_termcolors=256
let g:solarized_termtrans=1
end
endif
2017-08-01 22:49:41 +08:00
colorscheme solarized
set background=dark