Skip to content

Commit

Permalink
change default background
Browse files Browse the repository at this point in the history
  • Loading branch information
D0n9X1n committed Mar 23, 2018
1 parent f48b6ba commit 2b4fc15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -533,13 +533,6 @@ endif
"==========================================
" Theme Settings 主题设置
"==========================================
" Set extra options when running in GUI mode
if has("gui_running")
set guifont=Consolas-with-Yahei:h13
if has("gui_gtk2") "GTK2
set guifont=Consolas-with-Yahei:h13
endif
endif

" theme主题
set background=dark
Expand All @@ -551,6 +544,16 @@ colorscheme gruvbox
" colorscheme desert
" colorscheme iceberg

" Set extra options when running in GUI mode
if has("gui_running")
set guifont=Consolas-with-Yahei:h14.5
colorscheme solarized
if has("gui_gtk2") "GTK2
set guifont=Consolas-with-Yahei:h14.5
colorscheme solarized
endif
endif

" 设置标记一列的背景颜色和数字一行颜色一致
hi! link SignColumn LineNr
hi! link ShowMarksHLl DiffAdd
Expand Down
2 changes: 1 addition & 1 deletion vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ let g:autoformat_verbosemode = 0
" }}}

" gruvbox {{{
let g:gruvbox_improved_warnings = 1
" let g:gruvbox_improved_warnings = 1
let g:gruvbox_sign_column = 'bg0'
" }}}
"------------------------------------------- end of configs --------------------------------------------

0 comments on commit 2b4fc15

Please sign in to comment.