You are here

18 November 2014
You can easily test or enable syntax highlighting, vim supports a huge list of programming languages. Well worth the minutes it takes to activate, it also works in putty.
You can try it out, just open a file and insert these commands:
Source code viewer
  1. :filetype plugin on
  2. :syntax on
Programming Language: Text
To make it permanent add these lines to vim ~/.vimrc. Tilde (~) is your home directory.
Source code viewer
  1. vim ~/.vimrc
Programming Language: Bash
Source code viewer
  1. filetype plugin on
  2. syntax on
Programming Language: Text