visual studio code keyboard shortcuts code example

Example 1: vscode shortcut to delete line

Mac OS : Command + X  or Command + Shift + K

Example 2: vs code copy a link down

On Windows: Shift + Alt + Up/Down.
On Mac: Shift + Option + Up/Down.
On Ubuntu: Ctrl + Shift + Alt + Up/Down.

Example 3: vscode command to select a whole line

windows: Ctrl + L
MacOS: Command + L

Example 4: visual studio code terminal window shortcut back

// Toggle between terminal and editor focus
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus"},
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"}

Example 5: visual studio code edit shortcuts

Windows edit key bindings: 
ctrl + k -> ctrl + s

Example 6: vscode list of all shortcuts

ctrl + k and ctrl + s // List of all shortcuts

Tags:

Html Example