Friday, January 1, 2021

Vim editor command

Command Mode:
gg     To go to the beginning of the page
G       To go to end of the pagew
b       To move the cursor forward, word by word
nb     To move the cursor backward, word by word
nw    To move the cursor forward to n words (5W)
nb     To move the cursor backward to n words (5B)
u       To undo last change (word)  

Ctrl+R   To redo the changes

yy    To copy line 

nyy   to copy no of line

dd    to delete line 

p     to past line

No comments:

Post a Comment