There are many color schemes which are usually distributed together with vim. You can select them with the :color
command.
You can see the available color schemes in vim's colors
folder, for example in my case:
$ ls /usr/share/vim/vimNN/colors/ # where vimNN is vim version, e.g. vim74
blue.vim darkblue.vim default.vim delek.vim desert.vim elflord.vim
evening.vim koehler.vim morning.vim murphy.vim pablo.vim peachpuff.vim
README.txt ron.vim shine.vim slate.vim torte.vim zellner.vim
I usually use desert
. So I open vim
, then enter :color desert
and enter. To have the color scheme by default every time you open vim
, add :color desert
into your ~/.vimrc
.
(Michael, OP) This was good. The terminal looks like:
hi Comment ctermbg=gray ctermfg=darkblue
. You can set your color scheme and then change it bit by bit; put the bits in a seperate file andsource
it from your vimrc at the end.