fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 99 forks source link

Scrolling #689

Closed JustAShadow777 closed 2 years ago

JustAShadow777 commented 2 years ago

Hi, I can't find the assigned time between scrollsteps. At keypress it waits a couple of ms to initiate the second step.

fanglingsu commented 2 years ago

@JustAShadow777 There is no configuration for the time between the scroll steps. I assume the time between is spent sending the IPC Messages from vimb to its webextension which calls JS logic on the page to scroll. If I switch to pass through mode by <ctrl-z> and use the cursor keys the scrollling is done direct by webkit without the IPC logic but this similar slow and steppy. If you want to scroll faster you should use a mouse wheel or somthing that emulates this or use faster scroll variants like <ctrl-f> or <ctrl-d>.

JustAShadow777 commented 2 years ago

@JustAShadow777 There is no configuration for the time between the scroll steps. I assume the time between is spent sending the IPC Messages from vimb to its webextension which calls JS logic on the page to scroll. If I switch to pass through mode by <ctrl-z> and use the cursor keys the scrollling is done direct by webkit without the IPC logic but this similar slow and steppy. If you want to scroll faster you should use a mouse wheel or somthing that emulates this or use faster scroll variants like <ctrl-f> or <ctrl-d>.

Thanks for responding. I was looking for Vimium-like smooth scrolling with a continuous animation