Skip to content

Instantly share code, notes, and snippets.

@ktiays
Created December 2, 2021 07:46
Show Gist options
  • Save ktiays/9460932b069d3992ebcac488a105db8f to your computer and use it in GitHub Desktop.
Save ktiays/9460932b069d3992ebcac488a105db8f to your computer and use it in GitHub Desktop.
Configuration to remove background of SpaceVim.

Configuration to remove background of SpaceVim.

When I finish installing SpaceVim and start vim, I notice that the text editor section has a background color that I don't expect to appear.

Solution

Add the following code to the end of the ~/.SpaceVim/vimrc file.

hi Normal guibg=NONE ctermbg=NONE
hi EndOfBuffer guibg=NONE ctermbg=NONE

Then restart vim and you will see that the editor's background has been removed like this. 👍

screenshot-20211202-153849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment