How do I edit a file whose name is under the cursor?

You can use the gf command to edit a file whose name is under the cursor. You can use the CTRL-W f command to edit the file in a new window and finally you can use CTRL-W gf top open a new tab page that contains the file name under the cursor.

Comments (1)


Pepsh Pepshinsky

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


Speak Your Mind