XVim2
XVim2 copied to clipboard
Scroll offset function missing
In Vim, there is an option for set scrolloff=X, which keeps your cursor X lines off the bottom of the screen. I explored this as a solution for #11, but it appears the function is not implemented.
*'scrolloff'* *'so'*
'scrolloff' 'so' number (default 0)
global
{not in Vi}
Minimal number of screen lines to keep above and below the cursor.
This will make some context visible around where you are working. If
you set it to a very large value (999) the cursor line will always be
in the middle of the window (except at the start or end of the file or
when long lines wrap).
For scrolling horizontally see 'sidescrolloff'.
NOTE: This option is set to 0 when 'compatible' is set.
I was sure it had been previously in XVim, but from a quick search it appears it wasn't implemented.
Need this so bad!