Answers for "vim open new file"

1

vim open new file

# Basic syntax:
# Create a new file named filename.txt and open it in a new window
# below the current one:
:new filename.txt
# Create a new file named filename.txt and open it in a new window
# to the left of the current one:
:vert new filename.txt
Posted by: Guest on July-22-2021
7

vim command to open a file

vim filename 
i
*Insert/Edit Text*
*Esc*
:wq       (save the file and exit to commands)
Posted by: Guest on June-06-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language