Reputation: 8933
In VsCode VIM (vanilla installation), how would you execute Ctrl + N? When inspecting the keyboard shortcut, it looks like this:
I tried the plain way in VIM by running :new
, but it opened a new tab within the same editor instead of a whole new tab.
Ideally, I'm looking for a plain way to do this without having to re-map any keys. I'm a big proponent of using vanilla tooling so I can easily transfer machine without having to carry around my re-mappings.
Upvotes: 17
Views: 8931
Reputation: 11
In --NORMAL--
:e
or :enew
then press enter
.
This will create new and open a new file tap.
Upvotes: 1
Reputation: 194
You can try :e
Example
:e test.js
Or install extension like this : https://github.com/dkundel/vscode-new-file
Upvotes: 9