To switch between the editor and terminal in VS Code (Mac), you can use the following keyboard shortcuts:
Ctrl
+~
: To go to the terminal
Ctrl
+1
: To go back to the editor
Ctrl
+up
: To select the editor when the terminal is focused
Ctrl
+Shift
+P
: to open the command palette and search for Focus