wall VIM Command

How to use wall Command in Linux VIM editor?

Explanation


wall stands for write all
wall command is used to save the changes done several windows at a time.

Usage:

:wall

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 all the windows, after saving the changes
    Enter :wall
    wall vim commands

Ask Questions

Ask Question