3 ms·
This can be done playing with a number of lines... like 10 or 15. And it will stay at such distance (in lines) from the top or bottom... Don't know a way to se
by txutxu 6y ago
This can be done playing with a number of lines... like 10 or 15. And it will stay at such distance (in lines) from the top or bottom...
Don't know a way to set it to a percent, but could be nice too, indeed.
- ducktective 6y agoI think the percentage is do-able with some autocmd shenanigans...even the link I posted has a snippet for it. Changing that `/2` to a `*3/4` might work. https://vim.fandom.com/wiki/Keep_your_cursor_centered_vertically_on_the_screen#Centering_automatically_with_autocmds https://vim.fandom.com/wiki/Keep_your_cursor_centered_vertic...