re: Vim for starters - the minimum you need to know VIEW POST

VIEW FULL DISCUSSION
 

Not a bad bit of information for those starting out. There is another shortcut that seems to be regularly overlooked - 'ZZ' -- Shift - z - z -- which roughly maps to :wq! ( the difference is that wq! explicitly writes the file before quitting, ZZ only writes if modified, otherwise it just quits - aka :x for the literal folks )

code of conduct - report abuse