2

I want to navigate VS Code with only the keyboard. I want to select a file in the explorer, then use a hotkey to open in new tab.

Space and Enter replace the existing tab. This because I have preview mode enabled. I often do want to replace the current tab instead of opening a new one. I want to be able to choose between opening in a new tab and replacing the current tab by hotkey.

Control + Enter opens a file in a new column. Often I want to open the file in an existing column, but a new tab. How do I do that with explorer-friendly hotkeys?

1
  • if you double click on a file in the explorer it opens in the same column (no preview), I did not find a shortcut for this action, or a command similar to explorer.openToSide Commented Oct 2, 2020 at 13:46

1 Answer 1

1

To open a selected file in a new tab you can do ctrl+K O(first press ctrl+k then press O).You can do ctrl+K ctrl+S to open Keyboard Shortcuts. Some of them does not have keyboard shortcuts by default. In there you can assign your keyboard shortcut for the action you desire.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.