Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Vim, with ., I can repeat the last normal mode command; for example:


deletes a line twice.
But, if I type


the cursor does't move 10 lines down. How do I repeat the last normal mode command, especially a move?

share|improve this question

3 Answers 3

vim doesn't do this unfortunately. The best you can do is install the repmo.vim plugin, which repeats movement commands that have a count.

share|improve this answer

Actually . repeats the last change, not the last normal mode command. As Paul said, you will need a plugin to allow you to repeat motions.

See ":help .".

share|improve this answer

You can repeat changes with .. Movements can be repeated with the ; command. This command seems to be new and does a similar thing to the repmo.vim script mentioned in other answers.

For example, to move to the second next c, press 2fc. Then to do it again, just type ;.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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