vim text editor

How do I display vi / vim text editor line numbers while writing a shell script or c program? How can I turn on or off this feature on Linux, Apple OS X, or Unix-like operating systems?

{ 37 comments }

How do I print line numbers on the printer for my c / java / c++ code written using vi or vim text editor under Linux / UNIX like operating system?

{ 6 comments }

Q. I’ve just installed CentOS Linux server and started to use vi text editor to make changes to config files. How do I perform search and replace operation using vi / vim text editor? A. vi (vim) is not difficult to learn, the vi editor is well known and used for both writing code and […]

{ 18 comments }

Q. I am using vim under Ubuntu Linux and whenever I type following command: syntax on I’m getting an error which read as follows: E319: Sorry, the command is not available in this version: syntax on How do I fix this problem?

{ 36 comments }