vim - Setting background of GVim -
i working dark background in both vim gvim. however, in gvim dark background not loaded automatically (through .vimrc
), stays light
, need set automtically every session. see screenshots below.
loading file in vim:
loading file in gvim:
executing set background=dark
after loading file in gvim (note set background=dark
indeed in .vimrc
):
what can cause problem?
as romainl indicates, background
option tells vim background color looks like. enable background dark syntax higlighting. seems, you're using gui. consider following in .vimrc:
hi normal guifg=grey guibg=black
hi
stands higihglighting. , guifg , guibg stands for, guessed it, gui foreground , background colors.
Comments
Post a Comment