3 ms·
or ZZ to save and exit
by atsaloli 3mo ago
or ZZ to save and exit
- herodoturtle 3mo ago28 years of vi and TIL about ZZ. Thanks friend! ^_^
- mghackerlady 3mo agoI just learnt it the other day, as well. Granted, it was from chapter 1 of "Learning the vi and vim Text Editors" but shhh
- bbaron63 3mo agoZZ is the first vi command I learned. After typing vi and only seeing a column of ~s, I asked how do I get out of this thing. Someone answered - ZZ.
- atsaloli 3mo agoYou are welcome! I’m happy to hear it! I teach a vi basics tutorial and I get that a lot. :) http://vitutorial.org/ http://vitutorial.org/ The tutorial is based on Bill Joy’s original paper introducing the vi editor. Maybe you’ll find something else new there. :)
- alkyon 3mo agoRepeat ZZ to save & exit if there are more files to edit ZQ - discard & exit