ZZ
I was at a VimGolf evening at Vim London a few months ago, and one thing I picked up there was the use of ZZ
. If you look at VimGolf solutions, a lot use ZZ
to write and close the file. If multiple windows (split buffers) are open, it'll write and close that window. If you're in Normal mode, this is shorter than typing…