fix(vscode): use cmd not ctrl on macos
This commit is contained in:
parent
1cb0f5126d
commit
5e2c87aa17
@ -1,4 +1,28 @@
|
||||
// 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 .chezmoi.os "linux" }}
|
||||
[
|
||||
{
|
||||
"key": "ctrl+d",
|
||||
@ -20,3 +44,4 @@
|
||||
"command": "workbench.action.terminal.new"
|
||||
}
|
||||
]
|
||||
{{ end }}
|
||||
Loading…
Reference in New Issue
Block a user