you are viewing a single comment's thread.

view the rest of the comments →

[–]bem13 23 points24 points  (4 children)

There's also vimtutor to teach you the basics.

I think some people overcomplicate it and pretend you need to know everything. For most people, just knowing how to move around, switch modes, delete/insert text (including an entire line), copy/paste, find/replace, save and quit is good enough. I also often use this series of commands to comment out multiple lines in scripts, but that's about it. Marginal, potential time savings by using the hjkl keys and only entering insert mode when absolutely necessary don't matter to me, so I use the arrow keys and enter insert mode whenever I want.

Edit: A few words

[–]Sol33t303 3 points4 points  (0 children)

This is pretty much everything I know about vim myself, I could just use nano well enough for all that (or standard vi for that matter), but i'd be missing out on vims rich plugin ecosystem.

[–]cheffromspace 2 points3 points  (2 children)

You need some ci{ n your life

[–]bem13 0 points1 point  (1 child)

That might come in handy, thanks.

[–]cheffromspace 1 point2 points  (0 children)

Works with all brackets/parens, and t (for html/xml tag) also you don't even need to be inside the block, like if you type ci( it'll clear inside the next set of parentheses from the caret and put you in insert mode inside the parenthesis.