update vscode settings

This commit is contained in:
Chris 2020-09-06 02:44:25 -04:00
parent 73d89f8ca7
commit 4625145d02
2 changed files with 147 additions and 8 deletions

View file

@ -29,12 +29,12 @@
{
"key": "j",
"command": "list.focusDown",
"when": "listFocus"
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "k",
"command": "list.focusUp",
"when": "listFocus"
"when": "listFocus && explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "ctrl+j",
@ -66,6 +66,11 @@
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "shift+tab",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "shift+tab",
"command": "workbench.action.quickOpenNavigatePrevious",
@ -84,17 +89,17 @@
{
"key": "l",
"command": "list.select",
"when": "explorerViewletVisible && filesExplorerFocus"
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "o",
"command": "list.toggleExpand",
"when": "listFocus"
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "h",
"command": "list.collapse",
"when": "listFocus"
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "a",
@ -143,5 +148,25 @@
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "shift+k",
"command": "editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+i",
"command": "-editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "shift+tab",
"command": "-acceptAlternativeSelectedSuggestion",
"when": "suggestWidgetVisible && textInputFocus && textInputFocus"
},
{
"key": "ctrl+f",
"command": "-vscode-neovim.ctrl-f",
"when": "editorTextFocus && neovim.ctrlKeysNormal && neovim.init && neovim.mode != 'insert'"
}
]

View file

@ -335,6 +335,13 @@
"type": "command",
"command": "editor.action.toggleMinimap"
},
{
"key": "n",
"name": "highlight",
"type": "command",
"command": "vscode-neovim.send",
"args": ":noh<CR>"
},
{
"key": "s",
"name": "Search...",
@ -581,7 +588,6 @@
"workbench.list.automaticKeyboardNavigation": false,
"oneDarkPro.editorTheme": "onedarkPro",
"python.languageServer": "Microsoft",
"terminal.integrated.inheritEnv": false,
"editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "hidden",
"kite.showWelcomeNotificationOnStartup": false,
@ -595,12 +601,120 @@
"**/.factorypath": true
},
"terminal.external.osxExec": "iTerm.app",
"editor.minimap.enabled": false,
"editor.minimap.enabled": true,
"workbench.activityBar.visible": false,
"leetcode.workspaceFolder": "/Users/chris/Repos/leetcode",
"leetcode.defaultLanguage": "javascript",
"leetcode.hint.configWebviewMarkdown": false,
"leetcode.hint.commentDescription": false,
"window.zoomLevel": 3,
"window.menuBarVisibility": "toggle"
"window.menuBarVisibility": "toggle",
"python.dataScience.alwaysTrustNotebooks": true,
"python.condaPath": "$HOME/.miniconda/bin/conda",
"python.formatting.provider": "black",
"python.insidersChannel": "daily",
"terminal.integrated.shell.linux": "/bin/zsh",
"terminal.external.linuxExec": "/usr/bin/alacritty",
"editor.tokenColorCustomizations": {
"[One Dark Pro]": {
"textMateRules": [
{
"scope": [
"support.class.component.open.jsx",
"support.class.component.close.jsx",
"entity.name.function.js"
],
"settings": {
"foreground": "#61afef"
}
},
{
"scope": [
"variable.other.constant.object.js",
"punctuation.section.embedded.begin.jsx",
"punctuation.section.embedded.end.jsx"
],
"settings": {
"foreground": "#abb2bf"
}
},
{
"scope": ["punctuation.definition.tag.jsx"],
"settings": {
"foreground": "#5c6370"
}
},
{
"scope": [
"variable.other.readwrite.js",
"variable.other.property.js",
"variable.parameter",
"variable.other.object.js"
],
"settings": {
"foreground": "#56b6c2"
}
},
{
"scope": ["entity.other.attribute-name.jsx"],
"settings": {
"foreground": "#e5c07b"
}
},
{
"scope": [
"keyword.operator.assignment.js",
"keyword.operator.assignment.jsx",
"string.unquoted.js",
"keyword.operator.typeof.js",
"meta.embedded.expression.js",
"constant.other.object.key.js",
"keyword.operator.logical.js"
],
"settings": {
"foreground": "#c678dd"
}
},
{
"scope": ["variable.other.constant.object.js"],
"settings": {
"foreground": "#e06c75"
}
}
]
}
},
"workbench.colorCustomizations": {
"[Default Dark+]": {
"statusBar.background" : "#2E2E2E",
"statusBar.foreground" : "#569CD6",
"statusBarItem.remoteBackground": "#2E2E2E",
"statusBarItem.remoteForeground": "#569CD6",
"activityBar.background": "#2E2E2E",
"tab.inactiveBackground": "#2E2E2E"
},
"[One Dark Pro]": {
"editor.background": "#1e2127",
"terminal.foreground": "#abb2bf",
"terminal.ansiBlack": "#1e2127",
"terminal.ansiBlue": "#61afef",
"terminal.ansiCyan": "#56b6c2",
"terminal.ansiGreen": "#98C379",
"terminal.ansiMagenta": "#c678dd",
"terminal.ansiRed": "#e06c75",
"terminal.ansiWhite": "#abb2bf",
"terminal.ansiYellow": "#d19a66",
"terminal.ansiBrightBlack": "#5c6370",
"terminal.ansiBrightBlue": "#61afef",
"terminal.ansiBrightCyan": "#56b6c2",
"terminal.ansiBrightGreen": "#98c379",
"terminal.ansiBrightMagenta": "#c678dd",
"terminal.ansiBrightRed": "#e06c75",
"terminal.ansiBrightWhite": "#ffffff",
"terminal.ansiBrightYellow": "#d19a66",
},
},
}