There is another plugin called repmo.vim ("repeat motions") which can do what you want.
But you will need to specify which motions (or actions in general) you want to repeat. Mine is currently configured like this:
let g:repmo_mapmotions = "j|k h|l zh|zl g;|g, <C-w>w|<C-w>W"
let g:repmo_mapmotions .= " <C-w>+|<C-w>- <C-w>>|<C-w><"
let g:repmo_key = ";"
let g:repmo_revkey = ","
So after doing 5 CTRL-W + I can hit ; to repeat it as many times as a like.
The plugin works by creating mappings for each of the keys specified.
When f
or t
are used, the ;
and ,
mappings are cleared back to their default behaviour.
I find the mapping for g;
especially useful, to get back to an earlier edit point. g; ; ; ;
fz
and then10;
? What about:tabm +1
? Are these all going to have to be special-cased?