Use background from environment
This commit is contained in:
parent
6015c87af5
commit
e5c28e48d2
12
.vimrc
12
.vimrc
|
@ -19,12 +19,20 @@ set sm
|
||||||
set sw=4
|
set sw=4
|
||||||
set tw=72
|
set tw=72
|
||||||
set viminfo='100,<50,s10,h,%
|
set viminfo='100,<50,s10,h,%
|
||||||
|
|
||||||
if has('reltime')
|
if has('reltime')
|
||||||
set incsearch
|
set incsearch
|
||||||
endif
|
endif
|
||||||
|
|
||||||
colorscheme hjp
|
if $BG == "light"
|
||||||
syntax on
|
set bg=light
|
||||||
|
colorscheme hjp
|
||||||
|
syntax on
|
||||||
|
elseif $BG == "dark"
|
||||||
|
set bg=dark
|
||||||
|
syntax on
|
||||||
|
endif
|
||||||
|
|
||||||
map <F7> :cp
|
map <F7> :cp
|
||||||
map <F8> :cn
|
map <F8> :cn
|
||||||
map! >I<yypa/O
|
map! >I<yypa/O
|
||||||
|
|
Loading…
Reference in New Issue