Changing the colour of vim editor permanently - KeegMitch/Operations-Engineering-group-c GitHub Wiki

As the default colour vim editor is very hard to see, we've decided to change the default colorscheme.

  1. Make sure you're in your home directory: cd ~
  2. Create a .vimrc file, touch .vimrc
  3. Open the .vimrc file with sudo vim .vimrc
  4. Type in the colorscheme of your choice, in this example the theme "desert" is chosen

image

  1. Test out a random file using the vim editor to make sure the colours have changed:

image