chromium-vim
chromium-vim copied to clipboard
No delay on scroll option
When I press d
or j
page scrolls down by some distance, then stops, then starts again and moves constantly.
Is it possible to add option enabling scrolling without that delay? Vimium has this feature.
Could this be related to smoothscroll
? Does deactivating solves it?
set nosmoothscroll
No, it just disables smoothness.
Here is example: on Windows, if you set cursor in a text field and press and hold b
key, OS inserts one b character, then waits about second then starts to insert it repeatedly with almost no delay. cVim works now the same way.
In orher words, whether I hold j
key for 200ms or 500ms scroll distance will be the same.
Here is example of cVim
And this is Vimium
+1
+1
This is why I reinstalled Vimium...
I'd love to see this change as well.
Quick and dirty fix: Install cVim and Vimium, set Vimium config to:
unmapAll
map j scrollDown
map k scrollUp
map h scrollLeft
map l scrollRight
map u scrollPageUp
map d scrollPageDown
Add this to your cVim config:
unmap h j k l d u
This enables the smooth h j k l
and u
/d
navigation without the first keypress delay and lets you use cVim for everything else.
Is this (co-installing cVim and Vimium) still the best way to do this? It seems like a lot to get around one delay (but I'll go through the effort too if this is still the only way).