When I press and hold j or k, they are repeated by the OS interface (I presume). Vim seems to scroll on each character produced by the keyboard. This makes the scroll pause shortly right after holding the key down, and then only being repeated at a speed I can not configure for vim.
I would like the scrolling to repeat immediately after holding the key down, and I would like to configure the rate at which the j/k command is executed while the key is being held. So it would be useful to map commands to a key up event, so I could maybe set scrolling on and off when the key is being released.
How could you achieve this?
9j
or use the EasyMotion plugin. – joeytwiddle Jan 3 '20 at 5:19CTRL-j
to4j
, but I don't see anything wrong with scrolling visually. I am frequently just trying to go down a few lines and it is tedious to count how many lines I have to jump and then type in a different key combination each time. I just want to scroll and use visual feedback to know when I'm there. However with vim I would have to endure a short pause before scrolling starts, so I am using myCTRL-j
mapping or of courseCTRL-d
for larger jumps. Some day there ought to be a modern vim-like editor though... – stimulate Jan 3 '20 at 15:23j
andk
to scrolling down and up, and this starts to scroll smoothly instantly, which is really enjoyable. There are many UI standards vim doesn't live up to anymore, I only use it because it is the most lightweight and simple (compared to IDEs with vim mode). But I hope we get a vim successor soon. – stimulate Jan 3 '20 at 15:27