I was looking up at tips on screen shifting and came across the following tips:
zz = shift current line to middle of screen zt = shift current line to top of screen zb = shift current line to bottom of screen My question is what is z? What does it stand for? what other functionality might z have?
z doesn’t stand for anything. g and z were two letters that went unused as standalone commands (z<CR>, z., z+, z-, and z^ existed) in vi, so they have been repurposed in Vim as a prefix for a variety of commands.
:help z and :help g will show you all the commands that sit behind these prefixes.
What does z stand for in vim? – vi.stackexchange.com #JHedzWorlD
No comments:
Post a Comment