Reputation: 32776
I remampped ctrl+v
to open a new tab via :tabnew
, but it opens an empty buffer and for the life of me I can't find the answer on Google. I just want to open a file in the current buffer like file /my/file.js
. file
doesn't work tho. What is the command I am looking for?
Upvotes: 1
Views: 914
Reputation: 240649
The direct answer to your question is :edit
aka :e
, but you can also give :tabnew
a file argument.
Upvotes: 5