In vim, how to scroll horizontally, by just one character, when cursor reaches end of the window? -
this question has answer here:
- horizontal navigation in long lines 2 answers
instead, vim scrolls view 1 full page, making difficult follow long line of code.
line wrapping of course disabled, , want use arrow keys , not zl
.
is there vim option configuring in .vimrc desired behavior?
you're looking for
:set sidescroll=1
(or other small number). default 0
, scrolls half screen. see sidescrolloff
how near cursor must come border trigger scrolling.
Comments
Post a Comment