Similar to this question, I want to be able to resize my splits in a repeatable manner, but without having to use a plugin. I currently use the mapping:
nnoremap <Leader>q <C-w>10< nnoremap <Leader>w <C-w>10>
which works just fine. But I have to press and release the whole combination multiple times to get it to work.
Is there a simple way to make this repeatable without adding a plugin like the mentioned solution? I also use the common mapping for tabbing visually selected code:
vnoremap < <gv vnoremap > >gv
which works by re-entering visual mode to avoid having to select again, but I'm not sure how this might be transferable to what I want to do as they aren't similar other than that I'm trying to achieve repeatability.