chromium-vim icon indicating copy to clipboard operation
chromium-vim copied to clipboard

No delay on scroll option

Open zhdanjj opened this issue 7 years ago • 8 comments

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.

zhdanjj avatar Dec 07 '17 06:12 zhdanjj

Could this be related to smoothscroll? Does deactivating solves it?

set nosmoothscroll

Druidefix avatar Dec 08 '17 12:12 Druidefix

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 example

And this is Vimium vimium

zhdanjj avatar Dec 08 '17 13:12 zhdanjj

+1

rudevdr avatar Jan 13 '18 15:01 rudevdr

+1

sealj553 avatar Jan 27 '18 06:01 sealj553

This is why I reinstalled Vimium...

davidrthorn avatar Jun 20 '18 15:06 davidrthorn

I'd love to see this change as well.

janderland avatar Sep 13 '18 04:09 janderland

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.

braun-steven avatar Jan 11 '19 17:01 braun-steven

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).

ryanwwest avatar Jul 12 '21 18:07 ryanwwest