⚙️ config(nvim): added keymaps for harpoon when moving to next and prev file
This commit is contained in:
parent
3fce65221f
commit
5f78b7f5fd
2 changed files with 3 additions and 4 deletions
|
@ -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():next() end, desc = "Next Harpoon File" })
|
||||||
table.insert(keys, { "[H", function() require("harpoon"):list():prev() end, desc = "Prev 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
|
-- stylua: ignore end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -11,9 +11,5 @@ return {
|
||||||
{ "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down" },
|
{ "<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-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-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" },
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue