Last Updated: February 25, 2016
·
873
· mirko_novakovic

Save and Quit Shortcut

Most vi users use

:wq

to save an quit.

SHIFT-ZZ

does the same in a faster way.

3 Responses
Add your response

It's not exactly the same. :wq will update the last-mod time even if you haven't changed the file whereas ZZ will not.

over 1 year ago ·

Thanks. Didn't know that.

over 1 year ago ·

Most vim users I know use :x to save and quit...

over 1 year ago ·