Answers for "vim make the line go top"

0

vim make the line go top

z<CR> or zt puts current line to top of screen (<CR> == Enter)

z. or zz puts current line to center of screen

z- or zb puts current line to bottom of screen




# Misc:
(z<CR>, z., and z- puts the cursor in the first non blank column. zt, zz, and zb leaves the cursor in the current column)

More info about scrolling at http://vimdoc.sourceforge.net/htmldoc/scroll.html or
in vim type :help scroll-cursor

from mtk, chaptuck
Posted by: Guest on February-25-2021

Browse Popular Code Answers by Language