✨ feat(vscodium): new keybindings
This commit is contained in:
parent
8497ab4c5f
commit
0d6848df0a
3 changed files with 106 additions and 3 deletions
|
@ -299,5 +299,25 @@
|
||||||
"key": "tab",
|
"key": "tab",
|
||||||
"command": "-editor.action.inlineSuggest.commit",
|
"command": "-editor.action.inlineSuggest.commit",
|
||||||
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -233,6 +233,9 @@
|
||||||
"[python]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "charliermarsh.ruff"
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
||||||
},
|
},
|
||||||
|
"gopls": {
|
||||||
|
"ui.semanticTokens": true
|
||||||
|
},
|
||||||
// File explorer
|
// File explorer
|
||||||
// Terminal
|
// Terminal
|
||||||
"terminal.integrated.cursorBlinking": true,
|
"terminal.integrated.cursorBlinking": true,
|
||||||
|
@ -815,7 +818,89 @@
|
||||||
"command": "workbench.action.editor.changeLanguageMode"
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,8 +58,6 @@ vim.api.nvim_create_autocmd("User", {
|
||||||
map("n", "<leader>xx", vscode_action("workbench.actions.view.problems"))
|
map("n", "<leader>xx", vscode_action("workbench.actions.view.problems"))
|
||||||
-- open file explorer
|
-- open file explorer
|
||||||
map("n", "<leader>e", vscode_action("workbench.view.explorer"))
|
map("n", "<leader>e", vscode_action("workbench.view.explorer"))
|
||||||
-- toggle side bar
|
|
||||||
map("n", "<leader>ue", vscode_action("workbench.action.toggleSidebarVisibility"))
|
|
||||||
-- terminal
|
-- terminal
|
||||||
map("n", [[<c-\>]], vscode_action("workbench.action.terminal.toggleTerminal"))
|
map("n", [[<c-\>]], vscode_action("workbench.action.terminal.toggleTerminal"))
|
||||||
map("n", "<leader>fts", vscode_action("workbench.action.terminal.newWithCwd"))
|
map("n", "<leader>fts", vscode_action("workbench.action.terminal.newWithCwd"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue