Vim – Editing the default colorscheme

Vim is one of those text editors, I don’t like it, I find it weird, but I can understand why people like it, and I do find it useful if you want to quickly open a file and make some changes, perhaps when ssh’d onto a virtual or remote box where perhaps you don’t have the ability to install your favorite editor.

My biggest issue though is the default theme, the dark blue comments are very hard to read, so here’s a guide to change the color scheme, and a list of the default schemes on my vagrant box.

to change scheme within vim the full command is

:colorscheme {scheme name}


:colorscheme darkblue

This change only lasts as long as you have vim open, to change it on a more permanent basis, we must set it in our vimrc file

vim ~/.vimrc

in here simply type colorscheme {scheme name} and save and quit ( :wq! )

next time you open vim your colors will be to your taste.


Color Schemes

blue, darkblue, default, delek, desert, elflord, evening, koehler, morning
murphy, pablo, peachpuff, ron, shine, slate, torte, zellner

5 Replies to “Vim – Editing the default colorscheme”

  1. Vim like Emacs are two powerful text editors, the problem is that they are need a first configuration and a learning to use it. But one time that you have configured it, You could programming/compile/execute without the use of the mouse and it is more fast, by example when You are programming in Python or other interpreted language. #vim #Linux #Emacs #Development

  2. A valid comment, everyone has their preference, I prefer full IDE given the power of even most basic dev machines today 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *