qall VIM Command
How to use qall Command in Linux VIM editor?
qall stands for quit all
qall command is used to quit several windows at a time. If any of the window contains changes, vim will displays a message to save the changes. The cursor will move to the window in which changes have occurred.
- 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 quit all the windows
- To quit all the window, without saving the changes