4 ms·
zz is a neat command, however I find it a little cumbersome to use. I prefer to use the scroll offset[0] to keep the cursor line always at the center of the sc
by nzach 4y ago
zz is a neat command, however I find it a little cumbersome to use.
I prefer to use the scroll offset[0] to keep the cursor line always at the center of the screen.
I've been using 'so=20' for a long time now and it feels great.
[0] - https://vim.fandom.com/wiki/Keep_your_cursor_centered_vertically_on_the_screen https://vim.fandom.com/wiki/Keep_your_cursor_centered_vertic...
- endorphine 4y agoSame here. I didn't know about zz and while reading the comments here I didn't understand what all the fuss was about. Then I realized that I use some alternative setting that makes zz kinda redundant. I use `set scrolloff=3`.
- taway23234234 4y agoThe only problem with this is when you are actually at the bottom of the file. But great tip in general!