Skip to content

Commit

Permalink
update vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachnid-27 committed Dec 1, 2017
0 parents commit c26065c
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 0 deletions.
110 changes: 110 additions & 0 deletions vscode/keybindings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
[
{
"key": "ctrl+p",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+n",
"command": "workbench.action.nextEditor"
},
{
"key": "f3",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "o",
"command": "list.select",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "ctrl+j",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "ctrl+k",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "f4",
"command": "workbench.action.terminal.toggleTerminal"
},

// ctrl+c -> esc

{
"key": "ctrl+c",
"command": "cancelSelection",
"when": "editorHasSelection && editorTextFocus"
},
{
"key": "ctrl+c",
"command": "cancelRenameInput",
"when": "editorFocus && renameInputVisible"
},

// delete default keybindings

{
"key": "f3",
"command": "-editor.action.nextMatchFindAction",
"when": "editorFocus"
},
{
"key": "shift+f3",
"command": "-editor.action.previousMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+f3",
"command": "-editor.action.nextSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "ctrl+shift+f3",
"command": "-editor.action.previousSelectionMatchFindAction",
"when": "editorFocus"
},
{
"key": "f4",
"command": "-search.action.focusNextSearchResult"
},
{
"key": "shift+f4",
"command": "-search.action.focusPreviousSearchResult"
},
{
"key": "ctrl+c",
"command": "-editor.action.clipboardCopyAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+c",
"command": "-workbench.action.terminal.copySelection",
"when": "terminalFocus && terminalTextSelected"
},
{
"key": "ctrl+c",
"command": "-keybindings.editor.copyKeybindingEntry",
"when": "inKeybindings && keybindingFocus"
},
{
"key": "ctrl+c",
"command": "-problems.action.copy",
"when": "problemFocus"
},
{
"key": "ctrl+c",
"command": "-filesExplorer.copy",
"when": "explorerViewletVisible && filesExplorerFocus"
}
]
57 changes: 57 additions & 0 deletions vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"editor.fontSize": 16,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.leader": ";",
"vim.otherModesKeyBindingsNonRecursive": [
{
"before": ["<leader>", "x"],
"after": [],
"commands": [
{
"command": "workbench.action.files.save",
"args": []
},
{
"command": "workbench.action.closeActiveEditor",
"args": []
}
]
},
{
"before": ["<leader>", "w"],
"after": [],
"commands": [
{
"command": "workbench.action.files.save",
"args": []
}
]
},
{
"before": ["<leader>", "q"],
"after": [],
"commands": [
{
"command": "workbench.action.closeActiveEditor",
"args": []
}
]
}
],
"vim.handleKeys": {
"<C-a>": false,
"<C-t>": false,
"<C-f>": false
},
"workbench.iconTheme": "material-icon-theme",
"[cpp]": {},
"[go]": {},
"terminal.integrated.shell.windows": "C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe"
// "http.proxy": "127.0.0.1:1080"
}

0 comments on commit c26065c

Please sign in to comment.