2023-07-12 22:31:54 +02:00
|
|
|
-- fast switching between files
|
2023-06-28 18:50:56 +02:00
|
|
|
local mark = require("harpoon.mark")
|
|
|
|
local ui = require("harpoon.ui")
|
|
|
|
|
|
|
|
vim.keymap.set("n", "<leader>a", mark.add_file)
|
2023-07-12 22:14:04 +02:00
|
|
|
vim.keymap.set("n", "<leader>h", ui.toggle_quick_menu)
|
2023-06-28 18:50:56 +02:00
|
|
|
|
|
|
|
vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
|
|
|
|
vim.keymap.set("n", "<C-j>", function() ui.nav_file(2) end)
|
|
|
|
vim.keymap.set("n", "<C-k>", function() ui.nav_file(3) end)
|
|
|
|
vim.keymap.set("n", "<C-l>", function() ui.nav_file(4) end)
|