3 ms·
ZZ and ZQ are both very nice. On the note of saving/quitting and things not being mentioned enough, I only recently learned about :up to only save the file if
by opan 5y ago
ZZ and ZQ are both very nice.
On the note of saving/quitting and things not being mentioned enough, I only recently learned about :up to only save the file if there were actually changes (probably short for "update). Saves some time, especially with remote files, if you're one to save a lot and not remember if you saved recently already. I think this is closer to how emacs saving works by default. I bind space-f-s to save files, and tend to use that more than :w or similar, so in my case I just updated what that keybind did.