Finally, z doesn't take care only of folding, but also of the line position in the buffer by scrolling:
z
zz
zt
t
zb
b
Thanks again for the article! Keep on spreading the world about #vim! 🤓
Important clarification and additions, with your permission I'd like to add your comment with a credit :)
Then, you can also add H for moving cursor, without scrolling the page, to the Head, T to the Tail and M (I am not sure by hearth, check this last out) to the Middle. 😉
H
T
M
My pleasure.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Finally,
z
doesn't take care only of folding, but also of the line position in the buffer by scrolling:zz
places the line in the middle of the bufferzt
to thet
opzb
to theb
ottomThanks again for the article! Keep on spreading the world about #vim! 🤓
Important clarification and additions, with your permission I'd like to add your comment with a credit :)
Then, you can also add
H
for moving cursor, without scrolling the page, to theH
ead,T
to theT
ail andM
(I am not sure by hearth, check this last out) to theM
iddle. 😉My pleasure.