How to change VIM colorschme permanently?

You can temporarily change a colorscheme of vim using the following method.

:colorscheme darkblue

But this change will be transient and as soon as you exit from vim, you will lose the setting. In order to save this setting permanently, you must add this to your .vimrc file

$ vim ~/.vimrc

Add the following lines to the end of the file

colorscheme blue

Now whenever you open vim, you will see the blue colorscheme. You can use different available vim colorscheme like dessert,darkblue

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s