Search code examples
vim

How to jump down X amount of lines, over and over


I'm using 10j to jump down 10 lines, but I want to easily jump 10 lines over and over. I don't want to have to perform the jump with a macro qv10jq@v@@..

I wish there was a method for repeating down keys like motion has f then ; to continually jump (, to go back) to the next character(s).

is there anything shorter than my macro?


Solution

  • Here's repmo.vim - a plugin to do what you want. It maps ; to repeat the last motion command given with a count.