Create a file VIM Command

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


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


$vim filename


  • 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