* feat(harpoon.lua): add keymaps for navigating between files and toggling quick menu
* feat(keymaps.lua): add keymap for deleting all buffers except current * feat(nvim-tree.lua): add autocmd to go to last used hidden buffer when deleting a buffer * chore(init.lua): add ThePrimeagen/harpoon plugin to the list of plugins * chore(nvim-tree.lua): add missing comma in filters table * feat(surround.lua): add kylechui/nvim-surround plugin configuration
This commit is contained in:
parent
5c8fa11c53
commit
431b1bf351
6 changed files with 46 additions and 4 deletions
8
after/plugin/harpoon.lua
Normal file
8
after/plugin/harpoon.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local mark = require("harpoon.mark")
|
||||
local ui = require("harpoon.ui")
|
||||
|
||||
vim.keymap.set("n", "<leader>ha", mark.add_file)
|
||||
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
|
||||
|
||||
vim.keymap.set("n", "<leader>hn", function() ui.nav_next() end)
|
||||
vim.keymap.set("n", "<leader>hp", function() ui.nav_prev() end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue