wqall VIM Command
How to use wqall Command in Linux VIM editor?
Explanation
wqall stands for write and quit all
wqall command is used to save the changes automatically and then quit the several windows at a time.
Usage:
:wqall
Example:
- Open the 'one.txt' file
$ vim one.txt
- Open the file 'two.txt' in the split window
Enter :split two.txt
- Open the file 'three.txt' in the split window
Enter :split three.txt
- To write and quit all the windows, after saving the changes
Enter :wqall