DEV Community

Discussion on: Vim for starters - the minimum you need to know

Collapse
 
daemoen profile image
Marc Mercer

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 )