In this post we will look at a few settings that are useful while programming.
While typing a program, it is always helpful if various colors are used to higlight different keywords and variables of a program. This
can be acheived by running the command
While in the command mode in the vi editor.
The screenshots below show the difference.
With out syntax highlighting
With syntax highlighting
With Numbering and syntax enabled.
A line number can be added to every line in the file by running the command
The screenshots below depict the working of this command