I would like to use <Space> as a modifier, just like Ctrl, Alt or Shift.
For example, the hjkl keys could jump 10 times instead of just one when Space is pressed. Something like:
nnoremap <Space-h> 10h
nnoremap <Space-j> 10j
nnoremap <Space-k> 10k
nnoremap <Space-l> 10l
This almost works:
nnoremap <Space>j 10j
but I need to release the <Space> and press it again to repeat the custom movement.
arpeggio is a Vim plugin that lets you define keymappings of simultaneous keys to other keys, e.g.
jandkat the same time to have the same effect as<Esc>.