Compare commits

..

1 Commits

Author SHA1 Message Date
lianghongkey 08beb418eb
Update keybindings.json 2019-08-04 12:57:05 +08:00
7 changed files with 105 additions and 1181 deletions

View File

@ -1,26 +0,0 @@
{
"env": {
"myDefaultIncludePath": [
"${workspaceFolder}",
"${workspaceFolder}/include"
]
},
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "clang-x64",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/clang-3.9",
"compileCommands": "${workspaceFolder}/compile_commands.json",
"C_Cpp.files.exclude": {
"3rdparties/ghal": true,
"**/.vscode": true,
"**/.vs": true
},
}
],
"version": 4
}

View File

@ -1,509 +1,195 @@
// Place your key bindings in this file to override the defaultsauto[] // Place your key bindings in this file to override the defaultsauto[]
[ [
{ {
"key": "cmd+-", "key": "ctrl+-",
"command": "editor.foldRecursively", "command": "workbench.action.navigateBack"
}, },
{ {
"key": "cmd+=", "key": "ctrl+=",
"command": "editor.unfoldRecursively", "command": "workbench.action.navigateForward"
}, },
{ {
"key": "cmd+shift+-", "key": "ctrl+d",
"command": "editor.foldAll",
},
{
"key": "cmd+shift+=",
"command": "editor.unfoldAll",
},
{
"key": "cmd+d",
"command": "editor.action.revealDefinition", "command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" "when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
}, },
{ {
"key": "shift+cmd+t", "key": "ctrl+w",
"command": "workbench.action.closeWindow", "command": "workbench.action.closeWindow",
"when": "!multipleEditorGroups && !inDebugMode" "when": "!editorIsOpen && !multipleEditorGroups"
}, },
// {
// "key": "cmd+w",
// "command": "workbench.action.closeWindow",
// "when": "!editorIsOpen && !terminalFocus && !multipleEditorGroups"
// },
{ {
"key": "cmd+c", "key": "ctrl+c",
"command": "editor.action.clipboardCopyAction", "command": "editor.action.clipboardCopyAction",
"when": "textInputFocus" "when": "textInputFocus"
}, },
{ {
"key": "cmd+x", "key": "ctrl+x",
"command": "editor.action.clipboardCutAction", "command": "editor.action.clipboardCutAction",
"when": "textInputFocus && !editorReadonly" "when": "textInputFocus && !editorReadonly"
}, },
{ {
"key": "cmd+n", "key": "ctrl+f",
"command": "actions.find"
},
{
"key": "ctrl+n",
"command": "editor.action.nextMatchFindAction", "command": "editor.action.nextMatchFindAction",
"when": "editorFocus" "when": "editorFocus"
}, },
{ {
"key": "cmd+shift+l", "key": "ctrl+shift+l",
"command": "editor.action.formatSelection", "command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly" "when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
}, },
{ {
"key": "cmd+g", "key": "ctrl+g",
"command": "workbench.action.gotoLine" "command": "workbench.action.gotoLine"
}, },
{ {
"key": "cmd+/", "key": "ctrl+/",
"command": "editor.action.commentLine", "command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly" "when": "editorTextFocus && !editorReadonly"
}, },
{ {
"key": "cmd+b", "key": "ctrl+shift+=",
"command": "workbench.action.zoomIn"
},
{
"key": "ctrl+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+b",
"command": "workbench.action.toggleSidebarVisibility" "command": "workbench.action.toggleSidebarVisibility"
}, },
{ {
"key": "cmd+p", "key": "ctrl+shift+r",
"command": "workbench.action.reopenClosedEditor"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpen" "command": "workbench.action.quickOpen"
}, },
{ {
"key": "cmd+v", "key": "ctrl+v",
"command": "editor.action.clipboardPasteAction", "command": "editor.action.clipboardPasteAction",
"when": "textInputFocus && !editorReadonly" "when": "textInputFocus && !editorReadonly"
}, },
{ {
"key": "cmd+shift+f", "key": "ctrl+shift+f",
"command": "workbench.action.findInFiles" "command": "workbench.action.findInFiles"
}, },
{ {
"key": "cmd+z", "key": "ctrl+z",
"command": "undo", "command": "undo",
"when": "textInputFocus && !editorReadonly" "when": "textInputFocus && !editorReadonly"
}, },
{ {
"key": "cmd+shift+z", "key": "ctrl+shift+z",
"command": "redo", "command": "redo",
"when": "textInputFocus && !editorReadonly" "when": "textInputFocus && !editorReadonly"
}, },
{ {
"key": "cmd+j", "key": "ctrl+j",
"command": "cursorDown", "command": "cursorDown",
"when": "textInputFocus" "when": "textInputFocus"
}, },
{ {
"key": "cmd+k", "key": "ctrl+k",
"command": "cursorUp", "command": "cursorUp",
"when": "textInputFocus" "when": "textInputFocus"
}, },
{ {
"key": "cmd+h", "key": "ctrl+h",
"command": "cursorLeft", "command": "cursorLeft",
"when": "textInputFocus" "when": "textInputFocus"
}, },
{ {
"key": "cmd+l", "key": "ctrl+l",
"command": "cursorRight", "command": "cursorRight",
"when": "textInputFocus" "when": "textInputFocus"
}, },
{ {
"key": "cmd+shift+j", "key": "ctrl+shift+j",
"command": "workbench.action.search.toggleQueryDetails", "command": "workbench.action.search.toggleQueryDetails",
"when": "searchViewletVisible" "when": "searchViewletVisible"
}, },
{ {
"key": "cmd+,", "key": "ctrl+,",
"command": "workbench.action.openSettings" "command": "workbench.action.openSettings"
}, },
{ {
"key": "cmd+shift+tab", "key": "ctrl+shift+tab",
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup" "command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
}, },
{ {
"key": "cmd+shift+r", "key": "ctrl+shift+r",
"command": "workbench.action.reopenClosedEditor" "command": "workbench.action.reopenClosedEditor"
}, },
{ {
"key": "cmd+[", "key": "ctrl+shift+-",
"command": "workbench.action.navigateBack" "command": "workbench.action.zoomOut"
}, },
{ {
"key": "cmd+]", "key": "ctrl+r",
"command": "workbench.action.navigateForward" "command": "workbench.action.openRecent"
}, },
{ {
"key": "cmd+e", "key": "ctrl+[",
"command": "workbench.action.togglePanel", "command": "editor.foldAll",
"when": "activePanel" "when": "editorTextFocus"
}, },
{ {
"key": "cmd+e", "key": "ctrl+]",
"command": "workbench.action.toggleMaximizedPanel", "command": "editor.unfoldAll",
"when": "!activePanel" "when": "editorTextFocus"
}, },
{ {
"key": "cmd+n", "key": "ctrl+shift+d",
"command": "workbench.action.terminal.findNext", "command": "workbench.action.terminal.toggleTerminal"
"when": "terminalFindFocused || terminalFocus"
}, },
{ {
"key": "cmd+shift+n", "key": "ctrl+n",
"command": "workbench.action.terminal.findPrevious", "command": "workbench.action.terminal.findNextTerminalFocus",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.new",
"when": "activePanel"
},
{
"key": "cmd+t",
"command": "workbench.action.createTerminalEditor",
"when": "!activePanel"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus || terminalFindFocused"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.killEditor",
"when": "terminalEditorFocus || terminalFindFocused"
},
{
"key": "cmd+shift+]",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus" "when": "terminalFocus"
}, },
{ {
"key": "cmd+shift+[", "key": "ctrl+p",
"command": "workbench.action.terminal.focusPrevious", "command": "workbench.action.terminal.findPreviousTerminalFocus",
"when": "terminalFocus" "when": "terminalFocus"
}, },
{
"key": "ctrl+shift+t",
"command": "workbench.action.terminal.newInActiveWorkspace"
},
{
"key": "ctrl+shift+w",
"command": "workbench.action.terminal.kill"
},
{
"key": "ctrl+shift+]",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+[",
"command": "workbench.action.terminal.focusPrevious"
},
{ {
"key": "shift+escape", "key": "shift+escape",
"command": "search.action.clearSearchResults" "command": "search.action.clearSearchResults"
}, },
{ {
"key": "cmd+shift+n", "key": "ctrl+shift+n",
"command": "editor.action.previousMatchFindAction", "command": "editor.action.previousMatchFindAction",
"when": "editorFocus" "when": "editorFocus"
}, },
{ {
"key": "cmd+1", "key": "ctrl+t",
"command": "workbench.action.openEditorAtIndex1", "command": "workbench.action.showAllSymbols"
"when": "editorFocus || terminalEditorFocus"
}, },
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "cmd+0",
"command": "workbench.action.lastEditorInGroup"
},
{
"key": "cmd+t",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !terminalFocus && editorFocus"
},
{
"key": "cmd+r",
"command": "workbench.action.debug.start",
"when": "!inDebugMode && !terminalFocus"
},
{
"key": "cmd+shift+s",
"command": "workbench.action.debug.stepOver",
"when": "inDebugMode && !terminalFocus"
},
{
"key": "cmd+r",
"command": "workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "cmd+shift+b",
"command": "editor.debug.action.toggleBreakpoint",
"when": "editorTextFocus"
},
{
"key": "cmd+shift+t",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "cmd+shift+c",
"command": "workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFocus || terminalFindFocused"
},
{
"key": "cmd+shift+c",
"command": "toggleFindCaseSensitive",
"when": "editorFocus"
},
{
"key": "cmd+shift+c",
"command": "toggleSearchCaseSensitive",
"when": "searchViewletFocus && searchViewletVisible && !fileMatchOrFolderMatchFocus"
},
{
"key": "cmd+shift+d",
"command": "workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFocus || terminalFindFocused"
},
{
"key": "cmd+shift+d",
"command": "toggleFindWholeWord",
"when": "editorFocus"
},
{
"key": "cmd+shift+d",
"command": "toggleSearchWholeWord",
"when": "searchViewletFocus && searchViewletVisible"
},
{
"key": "cmd+f",
"command": "workbench.action.terminal.focusFind",
"when": "!terminalFindFocused && terminalEditorFocus"
},
{
"key": "cmd+f",
"command": "workbench.action.terminal.focusFind",
"when": "!terminalFindFocused && terminalFocus"
},
{
"key": "cmd+f",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused"
},
{
"key": "cmd+f",
"command": "actions.find",
"when": "!findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+f",
"command": "editor.action.nextMatchFindAction",
"when": "findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+shift+]",
"command": "workbench.action.nextEditor",
"when": "!terminalFocus || terminalEditorFocus"
},
{
"key": "cmd+shift+[",
"command": "workbench.action.previousEditor",
"when": "!terminalFocus || terminalEditorFocus"
},
{
"key": "cmd+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+5",
"command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+5",
"command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+6",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "cmd+6",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "cmd+shift+o",
"command": "remoteTargets.focus"
},
{
"key": "cmd+shift+y",
"command": "gitlens.views.repositories:gitlens.focus"
},
{
"key": "cmd+shift+g",
"command": "workbench.view.debug"
},
{
"key": "cmd+shift+u",
"command": "workbench.view.scm"
},
{
"key": "cmd+.",
"command": "workbench.action.toggleStatusbarVisibility"
},
{
"key": "cmd+m",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "cmd+shift+w",
"command": "workbench.action.quickSwitchWindow",
"when": "!inQuickOpen"
},
{
"key": "cmd+shift+w",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "shift+cmd+;",
"command": "editor.action.formatDocument",
},
{
"key": "cmd+o",
"command": "workbench.action.openRecent"
},
{
"key": "shift+cmd+v",
"command": "open-in-vim.open"
},
{
"key": "ctrl+cmd+w",
"command": "-workbench.action.toggleTabsVisibility"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "cmd+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "escape",
"command": "closeFindWidget",
"when": "findWidgetVisible"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "shift+cmd+i",
"command": "toggle.diff.renderSideBySide"
},
{
"key": "shift+cmd+.",
"command": "workbench.action.zoomIn"
},
{
"key": "shift+cmd+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "shift+cmd+,",
"command": "workbench.action.zoomOut"
},
{
"key": "shift+cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "shift+cmd+e",
"command": "workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "shift+cmd+a",
"command": "workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "cmd+k e",
"command": "-workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "cmd+q",
"command": "-workbench.action.quit"
}
] ]

View File

@ -1,541 +0,0 @@
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+-",
"command": "editor.fold",
},
{
"key": "ctrl+=",
"command": "editor.unfold",
},
{
"key": "ctrl+shift+-",
"command": "editor.foldAll",
},
{
"key": "ctrl+shift+=",
"command": "editor.unfoldAll",
},
{
"key": "ctrl+d",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "shift+ctrl+t",
"command": "workbench.action.closeWindow",
"when": "!multipleEditorGroups && !inDebugMode"
},
// {
// "key": "ctrl+w",
// "command": "workbench.action.closeWindow",
// "when": "!editorIsOpen && !terminalFocus && !multipleEditorGroups"
// },
{
"key": "ctrl+c",
"command": "editor.action.clipboardCopyAction",
"when": "textInputFocus"
},
{
"key": "ctrl+x",
"command": "editor.action.clipboardCutAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+n",
"command": "editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+g",
"command": "workbench.action.gotoLine"
},
{
"key": "ctrl+/",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+b",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+v",
"command": "editor.action.clipboardPasteAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+f",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+z",
"command": "undo",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+z",
"command": "redo",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "cursorDown",
"when": "textInputFocus"
},
{
"key": "ctrl+k",
"command": "cursorUp",
"when": "textInputFocus"
},
{
"key": "ctrl+h",
"command": "cursorLeft",
"when": "textInputFocus"
},
{
"key": "ctrl+l",
"command": "cursorRight",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.search.toggleQueryDetails",
"when": "searchViewletVisible"
},
{
"key": "ctrl+,",
"command": "workbench.action.openSettings"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+shift+r",
"command": "workbench.action.reopenClosedEditor"
},
{
"key": "ctrl+[",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+]",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+e",
"command": "workbench.action.togglePanel",
"when": "activePanel"
},
{
"key": "ctrl+e",
"command": "workbench.action.toggleMaximizedPanel",
"when": "!activePanel"
},
{
"key": "ctrl+n",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "ctrl+shift+n",
"command": "workbench.action.terminal.findPrevious",
"when": "terminalFindFocused || terminalFocus"
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.new",
"when": "activePanel"
},
{
"key": "ctrl+t",
"command": "workbench.action.createTerminalEditor",
"when": "!activePanel"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus || terminalFindFocused"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.killEditor",
"when": "terminalEditorFocus || terminalFindFocused"
},
{
"key": "ctrl+shift+]",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+[",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "shift+escape",
"command": "search.action.clearSearchResults"
},
{
"key": "ctrl+shift+n",
"command": "editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+9",
"command": "workbench.action.openEditorAtIndex9",
"when": "editorFocus || terminalEditorFocus"
},
{
"key": "ctrl+0",
"command": "workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+t",
"command": "workbench.action.debug.stop",
"when": "inDebugMode && !terminalFocus && editorFocus"
},
{
"key": "ctrl+r",
"command": "workbench.action.debug.start",
"when": "!inDebugMode && !terminalFocus && editorFocus"
},
{
"key": "ctrl+shift+s",
"command": "workbench.action.debug.stepOver",
"when": "inDebugMode && !terminalFocus"
},
{
"key": "ctrl+r",
"command": "workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+b",
"command": "editor.debug.action.toggleBreakpoint",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+t",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+c",
"command": "workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFocus || terminalFindFocused"
},
{
"key": "ctrl+shift+c",
"command": "toggleFindCaseSensitive",
"when": "editorFocus"
},
{
"key": "ctrl+shift+c",
"command": "toggleSearchCaseSensitive",
"when": "searchViewletFocus && searchViewletVisible && !fileMatchOrFolderMatchFocus"
},
{
"key": "ctrl+shift+d",
"command": "workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFocus || terminalFindFocused"
},
{
"key": "ctrl+shift+d",
"command": "toggleFindWholeWord",
"when": "editorFocus"
},
{
"key": "ctrl+shift+d",
"command": "toggleSearchWholeWord",
"when": "searchViewletFocus && searchViewletVisible"
},
{
"key": "ctrl+f",
"command": "workbench.action.terminal.focusFind",
"when": "!terminalFindFocused && terminalEditorFocus"
},
{
"key": "ctrl+f",
"command": "workbench.action.terminal.focusFind",
"when": "!terminalFindFocused && terminalFocus"
},
{
"key": "ctrl+f",
"command": "workbench.action.terminal.findNext",
"when": "terminalFindFocused"
},
{
"key": "ctrl+f",
"command": "actions.find",
"when": "!findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+f",
"command": "editor.action.nextMatchFindAction",
"when": "findInputFocussed && !terminalFocus && !terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+shift+]",
"command": "workbench.action.nextEditor",
"when": "!terminalFocus || terminalEditorFocus"
},
{
"key": "ctrl+shift+[",
"command": "workbench.action.previousEditor",
"when": "!terminalFocus || terminalEditorFocus"
},
{
"key": "ctrl+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "ctrl+1",
"command": "workbench.action.terminal.focusAtIndex1",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "ctrl+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "ctrl+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "ctrl+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+5",
"command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "ctrl+5",
"command": "workbench.action.terminal.focusAtIndex5",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+6",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFocus && !terminalEditorFocus"
},
{
"key": "ctrl+6",
"command": "workbench.action.terminal.focusAtIndex6",
"when": "terminalFindFocused && !terminalEditorFocus"
},
{
"key": "ctrl+shift+o",
"command": "remoteTargets.focus"
},
{
"key": "ctrl+shift+y",
"command": "gitlens.views.repositories:gitlens.focus"
},
{
"key": "ctrl+shift+g",
"command": "workbench.view.debug"
},
{
"key": "ctrl+shift+u",
"command": "workbench.view.scm"
},
{
"key": "ctrl+.",
"command": "workbench.action.toggleStatusbarVisibility"
},
{
"key": "ctrl+m",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "ctrl+shift+w",
"command": "workbench.action.quickSwitchWindow",
"when": "!inQuickOpen"
},
{
"key": "ctrl+shift+w",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "shift+ctrl+;",
"command": "editor.action.formatDocument",
},
{
"key": "ctrl+o",
"command": "workbench.action.openRecent"
},
{
"key": "shift+ctrl+v",
"command": "open-in-vim.open"
},
{
"key": "ctrl+ctrl+w",
"command": "-workbench.action.toggleTabsVisibility"
},
{
"key": "ctrl+shift+`",
"command": "-workbench.action.terminal.new",
"when": "terminalProcessSupported || terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "escape",
"command": "closeFindWidget",
"when": "findWidgetVisible"
},
{
"key": "ctrl+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "shift+ctrl+i",
"command": "toggle.diff.renderSideBySide"
},
{
"key": "shift+ctrl+.",
"command": "workbench.action.zoomIn"
},
{
"key": "shift+ctrl+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "shift+ctrl+,",
"command": "workbench.action.zoomOut"
},
{
"key": "shift+ctrl+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "shift+ctrl+e",
"command": "workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "shift+ctrl+a",
"command": "workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "ctrl+k e",
"command": "-workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quit"
},
{
"key": "alt+c",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0003"
},
"when": "terminalFocus"
},
{
"key": "alt+e",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0005"
},
"when": "terminalFocus"
},
{
"key": "alt+a",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0001"
},
"when": "terminalFocus"
},
{
"key": "alt+r",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0012"
},
"when": "terminalFocus"
}
]

View File

@ -1,32 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/calc/build/src/calc",
"args": ["with c:c*3"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}

View File

@ -1,168 +1,40 @@
{ {
"python.pythonPath": "/home/colin/anaconda2/bin/python",
"workbench.colorTheme": "Default Light+",
"editor.tabSize": 2, "editor.tabSize": 2,
"[cpp]": { "C_Cpp.errorSquiggles": "Disabled",
"editor.defaultFormatter": "ms-vscode.cpptools" "window.zoomLevel": 0,
}, "workbench.editor.enablePreview": false,
"[cpp]": {},
"C_Cpp.clang_format_style": "Google",
"editor.rulers": [ "editor.rulers": [
80 80
], ],
"workbench.startupEditor": "newUntitledFile", "workbench.startupEditor": "newUntitledFile",
"workbench.colorCustomizations": { "workbench.colorCustomizations": {
"editor.foldBackground": "#f9f4f4", "editor.selectionBackground": "#ffa9cd",
"editor.selectionBackground": "#fd9090", "editor.selectionHighlightBackground": "#ffa8a8",
"editor.selectionHighlightBackground": "#fdbed8",
"editorOverviewRuler.findMatchForeground": "#0000ff", "editorOverviewRuler.findMatchForeground": "#0000ff",
"editorOverviewRuler.selectionHighlightForeground": "#ff0000", "editorOverviewRuler.selectionHighlightForeground": "#ff0000",
"editorCursor.foreground": "#007523", "editorCursor.foreground": "#007523",
"editorBracketMatch.border": "#97d3aa", "editorBracketMatch.border": "#fffb00",
"editorBracketMatch.background": "#97d3aa", "editorBracketMatch.background": "#fffb00",
"editor.lineHighlightBackground": "#f0f0f0",
"editor.findMatchHighlightBackground": "#e8ec69",
"editor.findMatchBackground": "#e5e7a3",
"terminal.background" : "#f8f8f8", "terminal.background" : "#f8f8f8",
"sideBar.foreground": "#000000",
"tab.activeForeground": "#000000",
"tab.inactiveForeground": "#000000",
"quickInput.foreground": "#000000",
"editorError.foreground": "#00000000",
}, },
"C_Cpp.errorSquiggles": "disabled", "editor.fontSize": 14,
"C_Cpp.intelliSenseEngine": "default", "editor.fontWeight": "500",
"C_Cpp.default.cppStandard": "c++11",
"C_Cpp.default.cStandard": "c11",
"C_Cpp.workspaceParsingPriority": "high",
"editor.fontSize": 13,
"problems.decorations.enabled": false,
"editor.tokenColorCustomizations": { "editor.tokenColorCustomizations": {
"comments":"#7c7c7c", "comments":"#7c7c7c",
"keywords": "#808000", "keywords": "#919100",
"variables": "#000000", "variables": "#000000",
"strings": "#008080", "strings": "#009191",
"functions": "#800000", "functions": "#910000",
"numbers": "#008000", "numbers": "#009100",
"types": "#400080",
}, },
"terminal.integrated.scrollback": 10000, "terminal.integrated.fontWeight": "500",
"terminal.integrated.fontSize": 14,
"explorer.autoReveal": false, "explorer.autoReveal": false,
"editor.minimap.maxColumn": 80, "editor.minimap.maxColumn": 80,
"gitlens.currentLine.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"gitlens.mode.statusBar.enabled": false,
"gitlens.hovers.enabled": false,
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.menus": {
"editor": false,
"editorGroup": false,
"editorTab": false,
"explorer": false,
"scmGroup": {
"compare": true,
"openClose": true,
"stash": true,
"stashInline": true
},
"scmItem": {
"clipboard": true,
"compare": true,
"history": true,
"remote": true,
"stash": true
}
},
"gitlens.blame.highlight.locations": [
"gutter",
"line",
"overview"
],
"gitlens.blame.highlight.enabled": false,
"gitlens.blame.heatmap.enabled": false,
"gitlens.blame.avatars": false,
"gitlens.blame.compact": false,
"editor.largeFileOptimizations": false,
"breadcrumbs.enabled": true,
"terminal.integrated.fontSize": 13,
"window.menuBarVisibility": "compact",
"files.maxMemoryForLargeFilesMB": 8192,
"json.maxItemsComputed": 50000,
"cmake.configureOnOpen": false,
"extensions.ignoreRecommendations": false,
"editor.cursorBlinking": "solid",
"window.title": "【 ${folderName} 】【 ${remoteName} 】${folderPath}",
"workbench.colorTheme": "Default Light+",
"rust.show_warnings": false,
"git.detectSubmodules": false,
"editor.fontFamily": "menlo,sarasa-fixed-sc-regular,NotoSansMonoCJKsc-Regular",
"rst.preview.pythonPath": "",
"terminal.integrated.inheritEnv": false,
"python.terminal.activateEnvironment": false,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"editor.suggestSelection": "first",
"workbench.editor.decorations.badges": false,
"open-in-vim.restoreCursorAfterVim": true,
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"security.workspace.trust.untrustedFiles": "open",
"files.associations": {
"BUILD": "bazel"
},
"scm.countBadge": "off",
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.bracketPairColorization.enabled": true,
"systemverilog.formatCommand": "verible-verilog-format --column_limit 80",
"diffEditor.maxComputationTime": 0,
"terminal.integrated.tabs.enabled": false,
"files.watcherExclude": {
"**/.bloop": true,
"**/.metals": true,
"**/.ammonite": true
},
"workbench.tree.indent": 28,
"workbench.tree.renderIndentGuides": "always",
"systemverilog.maxLineCountIndexing": 1000000,
"C_Cpp.clang_format_fallbackStyle": "google",
"C_Cpp.clang_format_style": "google",
"cmake.configureOnEdit": false,
"window.zoomLevel": 1,
"editor.minimap.showSlider": "always", "editor.minimap.showSlider": "always",
"editor.minimap.renderCharacters": false, "editor.minimap.renderCharacters": false,
"editor.autoClosingBrackets": "never",
"editor.autoClosingQuotes": "never",
"editor.autoClosingOvertype": "never",
"editor.autoClosingDelete": "never",
"fonted.font": "menlo",
"git.openRepositoryInParentFolders": "never",
"C_Cpp.codeAnalysis.clangTidy.codeAction.showDisable": false,
"C_Cpp.codeAnalysis.clangTidy.codeAction.showDocumentation": false,
"C_Cpp.codeAnalysis.clangTidy.codeAction.showClear": "None",
"editor.lightbulb.enabled": "off",
"editor.hover.enabled": false,
"terminal.integrated.gpuAcceleration": "on",
"terminal.integrated.shellIntegration.suggestEnabled": true,
"git.showCommitInput": false,
"C_Cpp.loggingLevel": "None",
"C_Cpp.default.enableConfigurationSquiggles": false,
"files.autoGuessEncoding": true,
"workbench.layoutControl.enabled": false,
"window.commandCenter": false,
"workbench.editor.enablePreview": false,
"bitoAI.codeCompletion.setAutoCompletionTriggerLogic": 250,
"diffEditor.experimental.showMoves": true,
"diffEditor.useInlineViewWhenSpaceIsLimited": false,
"black-formatter.args": [
"--line-length=120",
],
"workbench.statusBar.visible": false,
"editor.hover.sticky": false,
"editor.hover.enabled": false,
"editor.hover.above": false,
"diffEditor.renderMarginRevertIcon": false,
"diffEditor.renderGutterMenu": false,
} }

View File

@ -1,20 +0,0 @@
{
"C_Cpp.clang_format_style": "google",
"C_Cpp.errorSquiggles": "Disabled",
"C_Cpp.updateChannel": "Insiders",
"C_Cpp.default.intelliSenseMode": "clang-x64",
"C_Cpp.default.cppStandard": "c++11",
"C_Cpp.default.cStandard": "c11",
"C_Cpp.intelliSenseEngineFallback": "Enabled",
"files.exclude": {
"**/bazel-bin": true,
"**/bazel-out": true,
"**/bazel-testlogs": true,
"**/bazel-Primo": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
}
}

View File

@ -1,15 +0,0 @@
{
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned"
}
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.format.enable": true,
"eslint.validate": ["javascript", "vue", "html"]
}