Sunday, June 22, 2014

Shell Setting Notes

Turn on or off color syntax highlighting in vi or vim To turn on syntax highlighting in vi or vim, enter command below
:syntax on
To turn of color syntax highlighing , enter command below in vi or vum
:syntax off
You can edit ~/.vimrc file and add command syntax on to it so that next you will start vim with color syntax highlighting option
$ cd
$ vi .vimrc
Append the following line:
syntax on