A blog dedicated to text editing and general exploration of computing knowledge
zt, zz, and zb move the cursor line to the top, middle, and bottom of the screen respectively, leaving the cursor at its current position in the line.Personally, I prefer these to z<CR>, z., and z-, which move the cursor line to the top, middle, and bottom, but put the cursor at the first non-blank character of the line.
Thanks for the more mnemonically friendly additions to the original comment. z<CR> is definitely nice and will probably become part of my regular repertoire.
Post a Comment