Re: "zz" vs ":echo"

2018-04-10 Thread ds
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

Re: "zz" vs ":echo"

2018-04-10 Thread Jason Felice
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

"zz" vs ":echo"

2018-04-10 Thread ds
Hi! I noticed quite a strange situation when centering text somehow suppresses the echo output. Since it all sounds rather weird, I created a reproducible example here: https://pastebin.com/F08V77Av – you can download the file, open it with vim -u NONE, source it then, go to line number 13,