vi text editor
eharetea

Tips for the vim and vi editors.

These text editors are simply the best.

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Wednesday July 30th, 2008 05:15 PM

VI TIPS

type i to edit
esc to get out of edit mode

type / to enter searching mode
ie:

/dan
then n to go to next
esc to get out of search mode

when there is an error, type : to get out


to change multiple patterns in a file like sed
:%s/pattern/newpattern/g

To always have syntax highlighting:
create a .vimrc file your home directory, and this line should appear in it:
:syn on 



Downloads:
Download: vi.txt 404 B

Please login or Click Here to register for downloads
Creative Commons License
vi text editor by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at www.3daet.com
Permissions beyond the scope of this license may be available at http://www.3daet.com