Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

nenter moves the cursor to n lines down from the current position.

is there any shortcut to move n lines up?

share|improve this question
you might want to try the vimtutor tutorial to for an introduction to some basic elements of all the magic vim has to offer. To find out how to start it, you can type :help vimtutor <Enter> in vim's Normal mode or follow this link: – accolade Jan 16 '12 at 7:19



(You can also use <n>j to move down, <n>h to move left and <n>l to move right)

Also: Read :help motion.

share|improve this answer
If you use the arrow keys, preceding them with a count also works. – Heptite Dec 20 '10 at 19:00
Al's right. It took me a few years to get serious about using h/j/k/l instead of the arrow keys, but I'm so glad I did. The real secret is to use things like 'w', 'b', ')', etc. to move around even faster. – labyrinth Jan 6 '11 at 21:59

You must log in to answer this question.

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