:wq

Category: Vim/Neovim

:wq

Save and quit

Saves the file and quits in one command.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.