Monday, January 10, 2011

New Blank file

To create a new blank file
:>file_name

VIM

If you are in a UNIX operating system, you can create a file in your home directory called .exrc that vi will read when it starts. Just put set number on its own line as well as any other set. This will make line numbers appear in Vi editor. To see what other options are available and their current values, use :set all from within vi.