summaryrefslogtreecommitdiff
path: root/ar/.config/LazyVim/lua/plugins/harpoon.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/LazyVim/lua/plugins/harpoon.lua
init
Diffstat (limited to 'ar/.config/LazyVim/lua/plugins/harpoon.lua')
-rw-r--r--ar/.config/LazyVim/lua/plugins/harpoon.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/ar/.config/LazyVim/lua/plugins/harpoon.lua b/ar/.config/LazyVim/lua/plugins/harpoon.lua
new file mode 100644
index 0000000..a156e1d
--- /dev/null
+++ b/ar/.config/LazyVim/lua/plugins/harpoon.lua
@@ -0,0 +1,19 @@
+return {
+ "ThePrimeagen/harpoon",
+ branch = "harpoon2",
+ opts = {
+ menu = {
+ width = vim.api.nvim_win_get_width(0) - 4,
+ },
+ },
+ keys = {
+ {
+ "<C-e>",
+ function()
+ local harpoon = require("harpoon")
+ harpoon.ui:toggle_quick_menu(harpoon:list())
+ end,
+ desc = "Harpoon quick menu",
+ },
+ },
+}