Monday, March 03, 2008

VIM Color Schemes

As mentioned previously I set my Putty settings to a dark green background with light green foreground.

It's a personal preference sort of thing, but my favorite default VIM color scheme at present is Koehler. Unfortunately, stock Koehler uses darkblue, making text invisible against a dark green background.

To change this, edit file (as root or equivalent):
  • Backup the file: cp /usr/share/vim/vim63/colors/koehler.vim /usr/share/vim/vim63/colors/koehler.vim.bak
  • vim /usr/share/vim/vim63/colors/koehler.vim
  • Run vim command ":%sdarkblue/lightblue/g"
All's good.

No comments:

Post a Comment