What's the name of the feature that moves the editor scroll left/right depending on the position of the cursor? #916
-
Hi, I'm Newby, and I've just decided to use Vim on IntelliJ. The most inconvenient feature for me is the ability to scroll left/right depending on the position of the cursor. It's hectic. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I'm not sure what issue you're referring to. Can you please record a small screencast? |
Beta Was this translation helpful? Give feedback.
-
This is probably the In IdeaVim 2.12.0, the |
Beta Was this translation helpful? Give feedback.
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's0
, 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 to1
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…