xt@xtpc:~$ cat /home/xt/.config/Code/User/keybindings.json // 将键绑定放在此文件中以覆盖默认值auto[] [ { “key”: “f2”, “command”: “editor.action.revealDefinition”, “when”: “editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor” }, { “key”: “f12”, “command”: “-editor.action.revealDefinition”, “when”: “editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor” }, { “key”: “f3”, “command”: “workbench.action.navigateBack” }, { “key”: “ctrl+alt±”, “command”: “-workbench.action.navigateBack” }, { “key”: “f4”, “command”: “C_Cpp.SwitchHeaderSource”, “when”: “editorTextFocus && editorLangId == ‘c’ || editorTextFocus && editorLangId == ‘cpp’ || editorTextFocus && editorLangId == ‘cuda-cpp’” }, { “key”: “alt+o”, “command”: “-C_Cpp.SwitchHeaderSource”, “when”: “editorTextFocus && editorLangId == ‘c’ || editorTextFocus && editorLangId == ‘cpp’ || editorTextFocus && editorLangId == ‘cuda-cpp’” } ]
|