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

Cannot change the scroll amount

Open jjeffrey opened this issue 2 years ago • 0 comments

I'm opening this issue because:

  • [ x ] I'll report a bug
  • [ x ] I'll propose a new feature

Description

Issue

When you alter the toolkit.scrollbox.verticalScrollDistance setting in about:config, the vertical scroll distance for Scroll down (bound to j by default) and Scroll up (bound to k by default) does not change.

This is not technically a bug, but frustrating because there is no way (at least that I know) to fine-tune the Vim Vixen scroll amount besides remapping to either the half-screen or full-screen scroll distance option.

I have not tested horizontal scrolling against toolkit.scrollbox.horizontalScrollDistance, but imagine this discrepancy might also occur there.

Possible Resolution

Ideally, there would be a separate setting visible in Vim Vixen settings to change the vertical/horizontal amounts, independent of about:config preferences, but I believe by default Vim Vixen should track about:config, if possible.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. On a webpage, check the vertical/horizontal scrolling distance by using Vim Vixen (j/k/h/l) vs. using the Firefox command (arrow keys).
  2. Go to about:config.
  3. Change the value of toolkit.scrollbox.verticalScrollDistance and/or toolkit.scrollbox.horizontalScrollDistance.
  4. Return to the webpage, and note the Firefox command scroll distances have adjusted, while the Vim Vixen command scroll distances have not.

System configuration

  • Operating system: Ubuntu 22.04.01 LTS
  • Firefox version: 103.0.2 (64-bit)
  • Vim-Vixen version: 1.2.3

jjeffrey avatar Aug 23 '22 03:08 jjeffrey