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.

3
  • Start by using k and j to go up and down. Dec 10, 2010 at 9:48
  • Why should I use j/k to go up down?
    – Alex
    Dec 10, 2010 at 9:52
  • Because then you can keep your fingers on the home row. Dec 10, 2010 at 10:00

3 Answers 3

9

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

Also, ShiftV.

2
  • The second <key>j</key> should be a <key>k</key> Dec 10, 2010 at 9:46
  • Boys, if you have a disagreement, discuss it in chat, not here. Comments deleted
    – Ivo Flipse
    Dec 10, 2010 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .