LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vim tutorial in 5 minute, learn vi/vim is to know what the letters stand for cheats (http://www.linuxquestions.org/questions/linux-newbie-8/vim-tutorial-in-5-minute-learn-vi-vim-is-to-know-what-the-letters-stand-for-cheats-4175469825/)

anish2good 07-16-2013 11:39 AM

vim tutorial in 5 minute, learn vi/vim is to know what the letters stand for cheats
 
vim tutorial in 5 minute, learn vi/vim is to know what the letters stand for cheatsheet

vim 5 minute tutorial, learn vi/vim is to know what the letters stand for
y(ank) - copy
d(elete) - cuta
c(hange) - replace
p(aste) - put from buffer after cursor
o(pen) - start a new line
i(nsert) - insert before current character
a(ppend) - insert after current character
w(ord) - moves to beginning of next word
b(ack) - moves to beginning of current word or prior word
e(nd) - moves to end of current word or next word
f(ind) - moves to a character on the current line
movement keys you just need to learn: h,j,k,l
^ - beginning of text on a line
$ - end of text on a line
0 - first position on line

most commands can be prefaced with numeric modifiers.
2w - means move 2 words
5h - means move 5 characters to the left
3k - means move 3 lines up
3fs - means move to the 3rd letter s folling the cursor

druuna 07-16-2013 12:23 PM

Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.

Continue in the other/original thread: https://www.linuxquestions.org/quest...or-4175469764/

Reported for closure.


All times are GMT -5. The time now is 03:12 PM.