48 lines
983 B
JSON
48 lines
983 B
JSON
// Place your key bindings in this file to override the defaults
|
|
{{ if ne .chezmoi.os "darwin"}}
|
|
[
|
|
{
|
|
"key": "cmd+d",
|
|
"command": "editor.action.duplicateSelection",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "cmd+shift+/",
|
|
"command": "editor.action.blockComment",
|
|
"when": "editor.hasSelection"
|
|
},
|
|
{
|
|
"key": "alt+/",
|
|
"command": "workbench.action.togglePanel",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "alt+shift+\\",
|
|
"command": "workbench.action.terminal.new"
|
|
}
|
|
]
|
|
{{ end }}
|
|
{{ if eq .chezmoi.os "linux" }}
|
|
[
|
|
{
|
|
"key": "ctrl+d",
|
|
"command": "editor.action.duplicateSelection",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+shift+/",
|
|
"command": "editor.action.blockComment",
|
|
"when": "editor.hasSelection"
|
|
},
|
|
{
|
|
"key": "alt+/",
|
|
"command": "workbench.action.togglePanel",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "alt+shift+\\",
|
|
"command": "workbench.action.terminal.new"
|
|
}
|
|
]
|
|
{{ end }}
|