There's still some hope if you're aiming to go sans plugins.
Case 1
For simply doing j/k
jumps, nelstrom's answer (1) works well. For performing 100j
and 100k
respectively:
:+100
or :-100
@:
(repeats the last command).
Case 2
Using norm
. From the manual:
Execute Normal mode commands {commands}. This makes it possible to
execute Normal mode commands typed on the command-line.
norm 100j
followed by our trusty @:
The advantage here is we can apply this to do other motions too, say norm 10l
for going right 10 steps.
Case 3
Macros are your friend. JK ABC does say "requires more spiritual power"(2) and once you learn the basics of using them, you can wreak havoc on all repetitive tasks in your editor.
They shine when it comes to repeating motions too. Look up the basics of macros if you aren't familiar with them already.
q1
(start recording a macro in register 1)
100j
(your movement)
q
(stop the recording)
@1
(replay macro at register 1. If done once, you can then use the easier-on-the-hands @@
to re-run the last used macro)
This has even more flexibility in the sense that you can store any custom motion in different registers (a-Z, 0-9 etc) and execute any one at a flick of your wrist.
References
- nelstrom's answer from How to jump down X amount of lines, over and over
- JK ABC's answer from Repeat last normal mode command, including moves, in Vim (Super User)