diff --git a/.config/VSCodium/User/keybindings.json b/.config/VSCodium/User/keybindings.json index a2cac8fd..e61c4af0 100644 --- a/.config/VSCodium/User/keybindings.json +++ b/.config/VSCodium/User/keybindings.json @@ -299,5 +299,25 @@ "key": "tab", "command": "-editor.action.inlineSuggest.commit", "when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible" + }, + { + "key": "] d", + "command": "editor.action.marker.next", + "when": "editorFocus" + }, + { + "key": "alt+f8", + "command": "-editor.action.marker.next", + "when": "editorFocus" + }, + { + "key": "[ d", + "command": "editor.action.marker.prev", + "when": "editorFocus" + }, + { + "key": "shift+alt+f8", + "command": "-editor.action.marker.prev", + "when": "editorFocus" } ] diff --git a/.config/VSCodium/User/settings.json b/.config/VSCodium/User/settings.json index 6877c0cf..b6e854a3 100644 --- a/.config/VSCodium/User/settings.json +++ b/.config/VSCodium/User/settings.json @@ -233,6 +233,9 @@ "[python]": { "editor.defaultFormatter": "charliermarsh.ruff" }, + "gopls": { + "ui.semanticTokens": true + }, // File explorer // Terminal "terminal.integrated.cursorBlinking": true, @@ -815,7 +818,89 @@ "command": "workbench.action.editor.changeLanguageMode" } ] + }, + { + "key": "s", + "name": " Search", + "type": "bindings", + "bindings": [ + { + "key": "b", + "name": "Buffers/Editors", + "type": "command", + "command": "workbench.action.showAllEditors" + }, + { + "key": "e", + "name": "Extensions", + "type": "command", + "command": "workbench.view.extensions" + }, + { + "key": "c", + "name": "Commands", + "type": "command", + "command": "workbench.action.showCommands" + }, + { + "key": "s", + "name": "Goto Symbol", + "type": "command", + "command": "workbench.action.gotoSymbol" + }, + { + "key": "S", + "name": "Goto Symbol (Workspace)", + "type": "command", + "command": "workbench.action.showAllSymbols" + }, + { + "key": "k", + "name": "Keymaps", + "type": "command", + "command": "workbench.action.openGlobalKeybindings" + } + ] + }, + { + "key": "u", + "name": " ui", + "type": "bindings", + "bindings": [ + { + "key": "b", + "name": "Toggle sidebar", + "type": "command", + "command": "workbench.action.toggleSidebarVisibility" + }, + { + "key": "p", + "name": "Toggle panel", + "type": "command", + "command": "workbench.action.togglePanel" + }, + { + "key": "c", + "name": "Colorscheme", + "type": "command", + "command": "workbench.action.selectTheme" + }, + { + "key": "m", + "name": "Toggle maximized panel", + "type": "command", + "command": "workbench.action.toggleMaximizedPanel" + }, + { + "key": "a", + "name": "Toggle activitybar", + "type": "command", + "command": "workbench.action.toggleActivityBarVisibility" + } + ] } ], - "workbench.statusBar.visible": false + // Generated automatically + "workbench.statusBar.visible": false, + "workbench.activityBar.location": "hidden" } diff --git a/.config/nvim/lua/plugins/extras/util/vscode.lua b/.config/nvim/lua/plugins/extras/util/vscode.lua index d288085f..2576705e 100644 --- a/.config/nvim/lua/plugins/extras/util/vscode.lua +++ b/.config/nvim/lua/plugins/extras/util/vscode.lua @@ -58,8 +58,6 @@ vim.api.nvim_create_autocmd("User", { map("n", "xx", vscode_action("workbench.actions.view.problems")) -- open file explorer map("n", "e", vscode_action("workbench.view.explorer")) - -- toggle side bar - map("n", "ue", vscode_action("workbench.action.toggleSidebarVisibility")) -- terminal map("n", [[]], vscode_action("workbench.action.terminal.toggleTerminal")) map("n", "fts", vscode_action("workbench.action.terminal.newWithCwd"))