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

fix(VIM-2432): handle scrolloff with <C-D> and <C-U> #391

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

citizenmatt
Copy link
Member

Fixes VIM-2432. <C-U> and <C-D> would not place the caret on the very first or very last line of the file when 'scrolloff' was set. Also, <C-D> would introduce virtual space rather than keep the last line of the file at the bottom of the screen (unless virtual space was already there, in which case it wouldn't scroll at all).

@AlexPl292 AlexPl292 merged commit 8344207 into JetBrains:master Nov 8, 2021
@AlexPl292
Copy link
Member

Great, thank you for the change!

@citizenmatt citizenmatt deleted the VIM-2432 branch April 21, 2022 10:12
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