diff --git a/.chezmoitemplates/keybindings.json b/.chezmoitemplates/keybindings.json index 32aff8f..e89826f 100644 --- a/.chezmoitemplates/keybindings.json +++ b/.chezmoitemplates/keybindings.json @@ -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 }} \ No newline at end of file