autowrite VIM Command
How to use autowrite Command in Linux VIM editor?
Explanation
autowrite command is used to save the changes done in the files automatically while closing the files.
Usage:
:set autowrite
Example:
- Open the file test.txt
$ vim test.txt
- To save the changes in the files automatically
:set autowrite