summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris <[email protected]>2020-08-29 21:53:08 -0400
committerChris <[email protected]>2020-08-29 21:53:08 -0400
commit99d76dabce3f04a87cd1a14d629bf55a6e16eb0d (patch)
tree4a5f988a195b9ce8eb75f39cda097835c6b74f3c
parent4f7c5b3ec320924614bd7d3eb2e3c76fe73c2801 (diff)
update codium bindings and settings
-rw-r--r--init.vim2
-rw-r--r--utils/vscode_config/keybindings.json2
-rw-r--r--utils/vscode_config/settings.json135
3 files changed, 55 insertions, 84 deletions
diff --git a/init.vim b/init.vim
index 46939ac9..008c1a8c 100644
--- a/init.vim
+++ b/init.vim
@@ -42,7 +42,7 @@ else
source $HOME/.config/nvim/plug-config/git-messenger.vim
source $HOME/.config/nvim/plug-config/closetags.vim
source $HOME/.config/nvim/plug-config/floaterm.vim
- source $HOME/.config/nvim/plug-config/vista.vim
+ " source $HOME/.config/nvim/plug-config/vista.vim
source $HOME/.config/nvim/plug-config/xtabline.vim
source $HOME/.config/nvim/plug-config/polyglot.vim
source $HOME/.config/nvim/plug-config/far.vim
diff --git a/utils/vscode_config/keybindings.json b/utils/vscode_config/keybindings.json
index 9ba07de6..26dd2dc7 100644
--- a/utils/vscode_config/keybindings.json
+++ b/utils/vscode_config/keybindings.json
@@ -122,7 +122,7 @@
"when": "terminalFocus"
},
{
- "key": "ctrl+j",
+ "key": "cmd+j",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
}
diff --git a/utils/vscode_config/settings.json b/utils/vscode_config/settings.json
index 2e199720..6ca99671 100644
--- a/utils/vscode_config/settings.json
+++ b/utils/vscode_config/settings.json
@@ -6,6 +6,12 @@
"whichkey.sortOrder": "alphabetically",
"whichkey.bindings": [
{
+ "key": ";",
+ "name": "commands",
+ "type": "command",
+ "command": "workbench.action.showCommands"
+ },
+ {
"key": "/",
"name": "comment",
"type": "command",
@@ -199,6 +205,32 @@
"command": "workbench.action.toggleSidebarVisibility"
},
{
+ "key": "f",
+ "name": "Find & Replace...",
+ "type": "bindings",
+ "bindings": [
+ {
+ "key": "f",
+ "name": "File",
+ "type": "command",
+ "command": "editor.action.startFindReplaceAction"
+ },
+ {
+ "key": "s",
+ "name": "Symbol",
+ "type": "command",
+ "command": "editor.action.rename",
+ "when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
+ },
+ {
+ "key": "p",
+ "name": "Project",
+ "type": "command",
+ "command": "workbench.action.replaceInFiles"
+ }
+ ]
+ },
+ {
"key": "g",
"name": "Git...",
"type": "bindings",
@@ -296,96 +328,29 @@
}
]
},
+
+ {
+ "key": "m",
+ "name": "minimap",
+ "type": "command",
+ "command": "editor.action.toggleMinimap"
+ },
{
"key": "s",
"name": "Search...",
"type": "bindings",
"bindings": [
{
- "key": "e",
- "name": "Edit symbol",
- "type": "command",
- "command": "editor.action.rename"
- },
- {
- "key": "h",
- "name": "Highlight symbol",
- "type": "transient",
- "command": "editor.action.wordHighlight.trigger",
- "bindings": [
- {
- "key": "p",
- "name": "Previous occurrence",
- "type": "command",
- "command": "editor.action.wordHighlight.prev"
- },
- {
- "key": "N",
- "name": "Previous occurrence",
- "type": "command",
- "command": "editor.action.wordHighlight.prev"
- },
- {
- "key": "n",
- "name": "Next occurrence",
- "type": "command",
- "command": "editor.action.wordHighlight.next"
- },
- {
- "key": "/",
- "name": "Search in a project with a selection",
- "type": "commands",
- "commands": [
- "editor.action.addSelectionToNextFindMatch",
- "workbench.action.findInFiles"
- ]
- }
- ]
- },
- {
- "key": "j",
- "name": "Jump to symbol in file",
- "type": "command",
- "command": "workbench.action.gotoSymbol"
- },
- {
- "key": "J",
- "name": "Jump to symbol in workspace",
+ "key": "f",
+ "name": "files",
"type": "command",
- "command": "workbench.action.showAllSymbols"
+ "command": "workbench.action.quickOpen"
},
{
- "key": "p",
- "name": "Search in a project",
+ "key": "t",
+ "name": "text",
"type": "command",
"command": "workbench.action.findInFiles"
- },
- {
- "key": "P",
- "name": "Search in a project with a selection",
- "type": "commands",
- "commands": [
- "editor.action.addSelectionToNextFindMatch",
- "workbench.action.findInFiles"
- ]
- },
- {
- "key": "r",
- "name": "Search all references",
- "type": "command",
- "command": "editor.action.referenceSearch.trigger"
- },
- {
- "key": "R",
- "name": "Search all references in side bar",
- "type": "command",
- "command": "references-view.find"
- },
- {
- "key": "s",
- "name": "Search in current file",
- "type": "command",
- "command": "actions.find"
}
]
},
@@ -612,7 +577,6 @@
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.pythonPath": "/Users/chris/.miniconda/bin/python",
"java.semanticHighlighting.enabled": true,
- "workbench.iconTheme": "material-icon-theme",
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -javaagent:\"/Users/chris/.vscode-oss/extensions/gabrielbb.vscode-lombok-1.0.1/server/lombok.jar\"",
"workbench.list.automaticKeyboardNavigation": false,
"oneDarkPro.editorTheme": "onedarkPro",
@@ -623,11 +587,18 @@
"kite.showWelcomeNotificationOnStartup": false,
"python.terminal.activateEnvironment": false,
"editor.cursorBlinking": "solid",
- "editor.fontFamily": "Fira, Menlo, Monaco, 'Courier New', monospace",
+ "editor.fontFamily": "Hack, Menlo, Monaco, 'Courier New', monospace",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
- }
+ },
+ "terminal.external.osxExec": "iTerm.app",
+ "editor.minimap.enabled": false,
+ "workbench.activityBar.visible": false,
+ "leetcode.workspaceFolder": "/Users/chris/Repos/leetcode",
+ "leetcode.defaultLanguage": "python3",
+ "leetcode.hint.configWebviewMarkdown": false,
+ "leetcode.hint.commentDescription": false
}