Thursday, January 10, 2013

turn off vi syntax color when using Putty

when using putty SSH to linux server, the vi syntax color is always make me to difficult to see them clearly no matter how I try to change to backgroud putty color , as shown above.






Thanks to the following two URL.


Enabling vi syntax colors

Turn on or off color syntax highlighting in vi or vim



The solution to me is to create .vimrc file in one's home directory.

orarac1poc:DG:/home/oracle> cat .vimrc
syntax off

or inside vi, type command ":syntax off"

That is it.