View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#10
the "ZZ" is a command to save and exit vi.
But you have to leave the editing mode prior.
So, after inserting "#" you have to hit the "esc" button.
Then type ZZ (upcase letters!).

nicolai
 

The Following 2 Users Say Thank You to nicolai For This Useful Post: