question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No delay on scroll option

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

7reactions
zhdanjjcommented, Dec 8, 2017

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

4reactions
braun-stevencommented, Jan 11, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jquery - Smooth Div Scroll - Start scrolling after delay
I am using the jQuery Plugin Smooth Div Scroll, it works perfectly fine but i would like the scrolling to start not immediately...
Read more >
Is "after delay... scroll to" possible? It's an option, but targets ...
“Scroll to” is a selectable option under “after delay”, but the targets are greyed out and I can't figure out why. The root...
Read more >
Javascript: Problem with scroll and delay
Basically I create 't' and when I scroll, I clear out any clear t, and then create a new setTimeout(). Should I scroll...
Read more >
Delay the start of scrolling
As you will notice, the scrolling starts in the sidebar and the title of the widget disappears, and then reappears again as the...
Read more >
scroll-behavior - CSS: Cascading Style Sheets - MDN Web Docs
Note that any other scrolls, such as those performed by the user, are not affected by this property. When this property is specified...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found