Thanks a lot, Jason!

On Tuesday, April 10, 2018 at 4:05:55 PM UTC+1, Jason Felice wrote:
> zz centers the cursor in the window *vertically* by scrolling the window.  
> This is why the window is scrolling.  When the cursor is above the 1/2 the 
> screen height, zz doesn't scroll because there's no more file to display.  
> Once below that point, it will keep the cursor in the middle row.
> 
> 
> There is a note on :help :echom about redraws.  If you put a redraw before 
> the echom, the message does not disappear.  This is because echom writes the 
> output but it is immediately cleared by the screen redraw when the normal 
> commands cause the screen to scroll.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to