Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vs code shortcut for switching to terminal to editor

Step to configure:

Go to: File > Preferences > keyboard shortcuts
then in the search-bar search for "focus terminal"
select "workbench.action.terminal.focus" and then ctrl+k or press your custom key and then press enter.
Similarly, in the search-bar search for "focus active editor group
select "workbench.action.focusActiveEditorGroup" and then press ctrl+j or press your custom key and then press enter.
After the above setup:

Press ctrl+k to focus cursor on terminal
Press ctrl+j to focus cursor on coding section without closing terminal
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #code #shortcut #switching #terminal #editor
ADD COMMENT
Topic
Name
7+9 =