How to configure your vi

Post date: Jun 29, 2014 6:39:26 AM

On UNIX you might want to configure your vi to perform syntax highlight and use conventional command. Here is how:

create a file called .vimrc with the following content inside:

set nocompatible

syntax on

Now you can enjoy syntax highlight and conventional vi commands.