Appearance
Visual Studio Code keybindings
My preference of Code keyboard bindings.
File locations
- Windows:
%APPDATA%\Code\User\keybindings.json - macOS:
$HOME/Library/Application Support/Code/User/keybindings.json - Linux:
$HOME/.config/Code/User/keybindings.json
Recommended keybindings
json
[
// Remove default CTRL+D binding
{
"key": "ctrl+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
// Remove default SHIFT+ALT+DOWN binding
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// Copy lines down with CTRL+D
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
}
]
[
// Remove default CTRL+D binding
{
"key": "ctrl+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
// Remove default SHIFT+ALT+DOWN binding
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// Copy lines down with CTRL+D
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20