args VIM Command

How to use args Command in Linux VIM editor?

Explanation


args command is used to get a list of all the files which are opened currently.

Usage:

:args

Example:

  • Open the files 'one.txt' and 'two.txt'
    $ vim one.txt two.txt
  • Vim displays the first file.
  • List the files which are currently opened using the command
    :args
    args Vim Command

Ask Questions

Ask Question