This is the mac version (note I normally have the intellij extensions installed):
alt + cmd + arrows = enter multiline edit mode, esc to exit
cmd + d = duplicate line
cmd + backspace = delete line
option + up arrow = expand selection
option + command + arrow = expand multi-line cursor, esc to cancel
shift + option + up/down arrow = move selection
cmd + shift + P = enter command mode (useful for say, install code command in PATH)
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
The following are some custom keyboard bindings that I use:
[
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
},
{
"key": "cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+r",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "\u0012" },
"when": "terminalFocus"
}
Cmd + P, followed by >
enter command mode.
“Shell command: Install code command in path”