summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris <[email protected]>2020-09-06 02:44:25 -0400
committerChris <[email protected]>2020-09-06 02:44:25 -0400
commit4625145d0278d4a039e55c433af9916d93e7846a (patch)
treef812d77b31da086f385016bd180d79a228b91b0c
parent73d89f8ca7b127fa49b69ea618df9318711e8876 (diff)
update vscode settings
-rw-r--r--utils/vscode_config/keybindings.json35
-rw-r--r--utils/vscode_config/settings.json120
2 files changed, 147 insertions, 8 deletions
diff --git a/utils/vscode_config/keybindings.json b/utils/vscode_config/keybindings.json
index a1b5c7ff..f2c60ec3 100644
--- a/utils/vscode_config/keybindings.json
+++ b/utils/vscode_config/keybindings.json
@@ -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",
@@ -68,6 +68,11 @@
},
{
"key": "shift+tab",
+ "command": "selectPrevSuggestion",
+ "when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
+ },
+ {
+ "key": "shift+tab",
"command": "workbench.action.quickOpenNavigatePrevious",
"when": "inQuickOpen"
},
@@ -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'"
}
]
diff --git a/utils/vscode_config/settings.json b/utils/vscode_config/settings.json
index 45bf5720..23880ceb 100644
--- a/utils/vscode_config/settings.json
+++ b/utils/vscode_config/settings.json
@@ -336,6 +336,13 @@
"command": "editor.action.toggleMinimap"
},
{
+ "key": "n",
+ "name": "highlight",
+ "type": "command",
+ "command": "vscode-neovim.send",
+ "args": ":noh<CR>"
+ },
+ {
"key": "s",
"name": "Search...",
"type": "bindings",
@@ -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",
+ },
+ },
}