Skip to content

Set scroll option with <C-u> and <C-d> #8985

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

Merged
merged 6 commits into from
May 2, 2024
Merged

Conversation

ontanj
Copy link
Contributor

@ontanj ontanj commented Apr 9, 2024

What this PR does / why we need it:
Set scroll option with [count]<C-u> and [count]<C-d>.

Rename CommandMoveHalfPageDown to CommandCtrlD and CommandMoveHalfPageUp to CommandCtrlU, since HalfPage is only true when scroll=0. This also aligns with CommandCtrlE and CommandCtrlY.

Wrap a docstring with ` since < and > need escaping in rendered format.

Which issue(s) this PR fixes
Fixes #8984

Copy link
Member

@J-Fields J-Fields left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat, I don't think I was aware of this behavior. Thanks!

@J-Fields J-Fields merged commit 13830e4 into VSCodeVim:master May 2, 2024
2 checks passed
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.

Set scroll option for <C-u> and <C-d>
2 participants