From a99b211b3bec43ebe3cdfa1899cba227d1d569a4 Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Thu, 11 Apr 2024 23:20:57 -0500 Subject: Initial commit --- dot_config/nvim/lua/plugins/harpoon.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dot_config/nvim/lua/plugins/harpoon.lua (limited to 'dot_config/nvim/lua/plugins/harpoon.lua') diff --git a/dot_config/nvim/lua/plugins/harpoon.lua b/dot_config/nvim/lua/plugins/harpoon.lua new file mode 100644 index 0000000..797abdd --- /dev/null +++ b/dot_config/nvim/lua/plugins/harpoon.lua @@ -0,0 +1,15 @@ +return { + "ThePrimeagen/harpoon", + dependencies = { + "nvim-lua/plenary.nvim", + }, + keys = { + { "a", function() require("harpoon.mark").add_file() end, desc = "Mark file with Harpoon" }, + { "", function() require("harpoon.ui").toggle_quick_menu() end, desc = "Open Harpoon menu" }, + { "j", function() require("harpoon.ui").nav_file(1) end, desc = "Open Harpoon file 1" }, + { "k", function() require("harpoon.ui").nav_file(2) end, desc = "Open Harpoon file 2" }, + { "l", function() require("harpoon.ui").nav_file(3) end, desc = "Open Harpoon file 3" }, + { ";", function() require("harpoon.ui").nav_file(4) end, desc = "Open Harpoon file 4" }, + }, + config = true +} -- cgit v1.2.3