✨ feat(nvim): add new vscode bindings to the extra
This commit is contained in:
parent
bb6809888a
commit
16b7217028
1 changed files with 7 additions and 0 deletions
|
@ -62,6 +62,13 @@ vim.api.nvim_create_autocmd("User", {
|
||||||
map("n", "<leader>e", vscode_action("workbench.view.explorer"))
|
map("n", "<leader>e", vscode_action("workbench.view.explorer"))
|
||||||
-- Open terminal
|
-- Open terminal
|
||||||
map("n", "<leader>ft", vscode_action("workbench.action.terminal.focus"))
|
map("n", "<leader>ft", vscode_action("workbench.action.terminal.focus"))
|
||||||
|
-- close editor
|
||||||
|
map("n", "<leader>bd", vscode_action("workbench.action.closeActiveEditor"))
|
||||||
|
-- breakpoints
|
||||||
|
map("n", "<F2>", vscode_action("editor.debug.action.toggleBreakpoint"))
|
||||||
|
-- windows
|
||||||
|
map("n", "<leader>|", vscode_action("workbench.action.splitEditorRight"))
|
||||||
|
map("n", "<leader>-", vscode_action("workbench.action.splitEditorDown"))
|
||||||
-- LSP actions
|
-- LSP actions
|
||||||
map("n", "<leader>ca", vscode_action("editor.action.codeAction"))
|
map("n", "<leader>ca", vscode_action("editor.action.codeAction"))
|
||||||
map("n", "gy", vscode_action("editor.action.goToTypeDefinition"))
|
map("n", "gy", vscode_action("editor.action.goToTypeDefinition"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue