Friday, 28 October 2011

vimtutor commands

HOW TO LEARN VI EDITOR COMMANDS EASILY

THE ONLY WAY TO LEARN IS JUST BY  PRACTICING.............. 

WHY YOU SHOULD LEARN VI EDITOR COMMANDS ?

Basically when you learn these commands when you want to write a program or to do a project it is most useful to do work fast.
And according to our analysis for a fresher when he was hired on 
this LINUX platform firstly there will be no work you are asked to do the documentations and some simple work so in order to enjoy this time it is best to learn to complete work as fast as possible .

IF you learn this vimtutor completely you will really enjoy the programming part no need to do hard of learn typing buddy.........

NOW LETS LEARN THE COMMANDS AND THE SHORT CUTS TO REACH THE ULTIMATE LEVEL OF VIMTUTOR ..........

   LEARNING THESE COMMANDS ARE MANDATORY ................................... YOU LEARN AND SEE THE FUN YOU GET WHEN YOU DO YOUR WORK


THESE COMMANDS YOU SHOULD WORKOUT IN VI EDITOR OF LINUX
:Viusage              -     Lists all the vi commands
:Viusage c           -     Gives short help on the vi command c
:set showmode   -     To show mode command
:set noshowmode-    To disable the mode command
:set nu                  -     To set the numbers to all lines 
l                             -     To move the cursor to left
h                           -      To move cursor right
k                           -      To move cusor up
j                            -       To move cursor down    
ZZ                        -       To write newly entered lines on to the disc
$                           -       move cursor to the end of the line
^                           -       move cursor to the beginning of the line
gg                        -       moves cursor to the beginning line i.e:1st line
G                          -       moves cursor to the end
ngg (eg:n=5)      -       moves cursor to the nth line from the beginning line i.e:5th line from the beginning
nG                        -      moves cursor to the nth line from the end    
e                           -      moves to end of the word to right


  
   summary of vi editor

No comments:

Post a Comment