minus-square@pamymaflink4•1 year agoShift+ZZ will save the file if it’s been modified and then close Vim.
Shift+ZZ will save the file if it’s been modified and then close Vim.