I have in my .vimrc
some simple mappings to resize split windows easily:
noremap <Leader><UP> <C-w>+
noremap <Leader><DOWN> <C-w>-
That works pretty fine but for example, when I want to resize the window of 10 lines I have to press and release Leader+UP 10 times.
How can I repeat this mapping while the keys are pressed? What I want is when I press Leader+UP the mapping will be applied once then after a short duration it will be applied once again and so on while I hold the keys.
Note: I know it is possible to prefix <C-w>+
with a count and I could hardcode it in the mapping or simply input a count before using the mapping but that's not how I want to do it.
Note2: I also know that a popular mapping to resize windows is to use + and - keys which are easier to press several times but I don't want to use those keys to do that neither.