Skip to content

Accelerate scroll on multiple key presses #70

Open
@s1n7ax

Description

@s1n7ax

When user repeats the same key before the scroll is done, https://github.com/psliwka/vim-smoothie scrolls the same amount of lines but within the time of a single scroll instead of two scroll time. Similar feature would be nice in neoscroll as well.

Scenario 1:

  • User hit <c-d>
  • Neoscroll scrolls 10 lines in 500 ms
  • User hit <c-d> once again after the scroll is completed
  • Total lines scrolled is 20 lines and it took 1000 ms

Scenario 2:

  • User hit <c-d>
  • User hit <c-d> once again when only 5 lines has scrolled within 250 ms (before scroll is completed)
  • Neoscroll scrolls 15 lines 500ms
  • Total lines scrolled is 20 lines and it took 750 ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions