How do I save the current file in another name (save as) and edit a

new file? You can use the “:saveas” command to save the current file in another name:

    :saveas 

Alternatively, you can also use the following commands:

    :w 

    :edit #

You can also use the “:file” command, followed by “:w” command:

    :file 

    :w

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind