feat(vscodium): new keybindings
This commit is contained in:
1 parent
93abe5376a
commit
591025d0ae
4 files changed
+17
-20
No files matched your search
@@ -11,6 +11,9 @@ table.insert(keys, { "<leader>hf", "<cmd>Telescope harpoon marks<CR>", desc = "F
|
||||
|
||||
table.insert(keys, { "]H", function() require("harpoon"):list():next() end, desc = "Next Harpoon File" })
|
||||
table.insert(keys, { "[H", function() require("harpoon"):list():prev() end, desc = "Prev Harpoon File" })
|
||||
|
||||
table.insert(keys, { "<C-A-l>", function() require("harpoon"):list():next() end, desc = "Next Harpoon File" })
|
||||
table.insert(keys, { "<C-A-h>", function() require("harpoon"):list():prev() end, desc = "Prev Harpoon File" })
|
||||
-- stylua: ignore end
|
||||
|
||||
return {
|
||||
|
||||
@@ -11,9 +11,5 @@ return {
|
||||
{ "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down" },
|
||||
{ "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up" },
|
||||
{ "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right" },
|
||||
{ "<C-A-h>", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left" },
|
||||
{ "<C-A-j>", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down" },
|
||||
{ "<C-A-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up" },
|
||||
{ "<C-A-l>", function() require("smart-splits").swap_buf_right() end, desc = "Swap buffer right" },
|
||||
},
|
||||
}
|
||||
@@ -58,8 +58,6 @@ vim.api.nvim_create_autocmd("User", {
|
||||
map("n", "<leader>xx", vscode_action("workbench.actions.view.problems"))
|
||||
-- open file explorer
|
||||
map("n", "<leader>e", vscode_action("workbench.view.explorer"))
|
||||
-- toggle side bar
|
||||
map("n", "<leader>ue", vscode_action("workbench.action.toggleSidebarVisibility"))
|
||||
-- terminal
|
||||
map("n", [[<c-\>]], vscode_action("workbench.action.terminal.toggleTerminal"))
|
||||
map("n", "<leader>fts", vscode_action("workbench.action.terminal.newWithCwd"))
|
||||
|
||||
Reference in new issue
Block a user