Create a file VIM Command

How to use Create a file Command in Linux VIM editor?

Explanation


This command is used to create a new file in the vim text editor.

Usage:

$vim filename

Example:

  • Let us consider that we have to create a file named test.txt
    $vim test.txt
  • The file with the name test.txt will be created.
    Create a File VIM Command

Ask Questions

Ask Question