I've got a sick terminal colorscheme, and i'm using vim-one colorscheme for neovim, what i'd like to do is stop it from changing the background color (since i like my terminals background color more)

i don't have my terminals background color i was hoping i could just make neovim not change it. i can find it if need be but i'd rather neovim just does not change it

up vote 2 down vote accepted

If the background is changing, then the colorscheme is changing it. You can either choose a colorscheme that doesn't do that, or try overriding the colorscheme.

autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE

The colorscheme may be designed around a particular background color, though, and there may be other highlight groups which need adjustment.

  • 1
    bg=NONE caused an error for me, i removed it now it works fine, thanks! – peep Dec 10 at 23:34
  • @peep Fixed, thanks – jamessan Dec 11 at 14:47

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.