In vim, how to scroll horizontally, by just one character, when cursor reaches end of the window? -


this question has answer here:

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

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -