Save gvim colour scheme

If you use gvim and don’t like the default colour scheme, you may have noticed changes to it wont persist between sessions. Add the following line to the following file to fix this

colorscheme slate

Note: Replace slate with the theme of your choice (case sensitive)

sudo gvim ~/.gvimrc

Note: This file may not exist, simply create it if it does not

Happy coding

-Matt

30 May 2011