修改mimeapps.list的配置方式

This commit is contained in:
2025-05-19 10:41:29 +08:00
parent 91b8e65a79
commit b1540dfb96
7 changed files with 99 additions and 108 deletions

View File

@@ -0,0 +1,69 @@
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "shift+alt+f",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "shift+alt+f",
"command": "workbench.action.terminal.searchWorkspace",
"when": "terminalFocus && terminalProcessSupported && terminalProcessSupported && terminalTextSelected"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.action.terminal.searchWorkspace",
"when": "terminalFocus && terminalProcessSupported && terminalProcessSupported && terminalTextSelected"
},
{
"key": "shift+alt+f",
"command": "workbench.view.search",
"when": "!searchViewletVisible && config.search.mode == 'view'"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.view.search",
"when": "!searchViewletVisible && config.search.mode == 'view'"
},
{
"key": "ctrl+shift+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
},
{
"key": "ctrl+shift+f",
"command": "editor.action.formatDocument.none",
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.formatDocument.none",
"when": "editorTextFocus && !editorHasDocumentFormattingProvider && !editorReadonly"
},
{
"key": "shift+alt+o",
"command": "workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "ctrl+shift+o",
"command": "editor.action.organizeImports",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"
},
{
"key": "shift+alt+o",
"command": "-editor.action.organizeImports",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)source\\.organizeImports\\b/"
}
]