Keep tab open after opening file - keyboard shortcut.

I can open a file with ctrl + p with VSCode, and that's good.

But I want to make the tab stay there (be non-italicised), using a keyboard shortcut. (The only way I know how to do this is to either modify the file, or to double click the tab).

What is the command palette name for this action, and is there a default keyboard shortcut for it?


The command palette name for this action is View: Keep Editor. The default keybinding for this is CtrlK Enter (on macOS, K Enter). The command name for keybindings.json is workbench.action.keepEditor.