14 May, 2009

Tricks for vi editor: (for linux)


vi editor is one of the file editors in linux systems.

here's some tricks for exploiting it:
configure line no: on the go

$set number-causes the line numbers to be displayed.

$set nonumber-to turn off the line numbers


$set ignorecase-causes searches to be case insensitive


$help- to list other such commands along with their usage and parameters.


To spell check in a vi editor:

To do spell check without leaving the vi session, try the following key sequence
inside the vi:

$w !spell -b

This command will give u the list of the commands that are mispelled.

0 comments:

Post a Comment

speak out... itz your time !!!

 

Terminal Diary | techblog Copyright © 2009 Gadget Blog is Designed by jintu jacob Powered by Blogger