Tuesday, September 24, 2013

Changing background color theme in vim

Sometimes, when you open a document in vim, the color of the font and background is not easy on the eye, like below:

In order to encounter this, you can change the backgroud of vim to use light background, by using
:set background=light
:set bg=light
in vim to become like below:

You can change the backgound back to dark by using
:set background=dark
:set bg=dark
in vim.

That's all, hope this is going to be useful to you.

No comments: