Skip to content

What's the name of the feature that moves the editor scroll left/right depending on the position of the cursor? #916

Answered by citizenmatt
seung7642 asked this question in Q&A
Discussion options

You must be logged in to vote

This is probably the 'sidescroll' option. It's the number of columns to scroll when the cursor hits the edge of the screen. By default, it's 0, which means to scroll so that the cursor is in the middle of the screen (if the line is long enough). You can set this to 1 and it will scroll one column at a time. Also check out the related 'sidescrolloff' option which will keep that many columns at the edge of the screen before scrolling.

In IdeaVim 2.12.0, the 'scrolloff' option will use IntelliJ's own settings, unless it's explicitly set. So you can change this using IntelliJ's own settings - check out the "Scroll Offset" section of the Settings | Editor | General settings page. Or you can se…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@seung7642
Comment options

Comment options

You must be logged in to vote
1 reply
@seung7642
Comment options

Answer selected by seung7642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants