mirror of
https://github.com/amix/vimrc
synced 2024-11-15 00:17:07 +00:00
Fixed some issues with terminal setup
This commit is contained in:
parent
ba783e5fd9
commit
5d177a21f6
2 changed files with 10 additions and 5 deletions
|
@ -36,7 +36,7 @@ if exists("syntax_on")
|
|||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = expand("<sfile>:t:r")
|
||||
let g:colors_name = "peaksea"
|
||||
|
||||
" I don't want to abuse folding, but here folding is used to avoid confusion.
|
||||
if &background=='light'
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" => GUI related
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
set background=dark
|
||||
|
||||
colorscheme peaksea
|
||||
|
||||
" Set font according to system
|
||||
if has("mac") || has("macunix")
|
||||
set gfn=Source\ Code\ Pro:h15,Menlo:h15
|
||||
|
@ -35,6 +31,15 @@ set guioptions-=R
|
|||
set guioptions-=l
|
||||
set guioptions-=L
|
||||
|
||||
" Colorscheme
|
||||
if has("gui_running")
|
||||
set background=dark
|
||||
colorscheme peaksea
|
||||
else
|
||||
colorscheme desert
|
||||
let g:colors_name="desert"
|
||||
endif
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" => Fast editing and reloading of vimrc configs
|
||||
|
|
Loading…
Reference in a new issue