Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a ScrollOff variable to allow for offset scrolling #1

Merged
merged 1 commit into from
Jul 12, 2015
Merged

added a ScrollOff variable to allow for offset scrolling #1

merged 1 commit into from
Jul 12, 2015

Conversation

jpittis
Copy link
Contributor

@jpittis jpittis commented Jul 11, 2015

Really love the tool you've made @hugows! Enough that I'd like to use it regularly. I thought that scrolling was acting a little strange so I thought I could make a small improvement!

This change adds the ScrollOff integer variable which controls at which point the result list is scrolled.

Right now I have it set to 5. This means that as you SelectNext(), the list will not scroll until the r.bottom_result - 5 is reached. Similarly, as you SelectPrevious(), the list will not scroll up until the r.top_result + 5 is reached.

This makes browsing large lists of files more manageable.

hugows added a commit that referenced this pull request Jul 12, 2015
Added a ScrollOff variable to allow for offset scrolling

Thanks jpittis, def. improvement, I remember a similar setting in Emacs.

(My code is a bit of a mess for now, and not very idiomatic. I'll try to improve it once it has the features I want.)
@hugows hugows merged commit 3e5209a into hugows:master Jul 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants