4

What are the shortcuts that I need to know, to make it snap snap?

Right now, all I do it the up/down arrow...it's noobish.

  • Start by using k and j to go up and down. – Ton van den Heuvel Dec 10 '10 at 9:48
  • Why should I use j/k to go up down? – Alex Dec 10 '10 at 9:52
  • Because then you can keep your fingers on the home row. – Sasha Chedygov Dec 10 '10 at 10:00
10

Same as normal mode; use <n>G to go to a specific line.

Also, ShiftV.

  • The second <key>j</key> should be a <key>k</key> – RedGrittyBrick Dec 10 '10 at 9:46
  • Boys, if you have a disagreement, discuss it in chat, not here. Comments deleted – Ivo Flipse Dec 10 '10 at 10:44
3

{ and } are very handy motions, they go respectively to the beginning or end of a paragraph.

Use v then } and you've selected all the paragraph until the end in two key strokes.

Alternatively you can use text-objects.

Basically,
vip selects the current paragraph,
vis selects the current sentence,
etc

See :help text-objects for more

2

Same as normal mode; use <n> plus one movement operator:

  • G to go to line n
  • j to go down n lines
  • k to go up n lines
  • w to go right n words

etc. see :help motion and get familiar with that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.