diff --git a/nvim/lua/plugins/autopairs.lua b/nvim/lua/plugins/autopairs.lua index a0fb1f2..5aeade2 100644 --- a/nvim/lua/plugins/autopairs.lua +++ b/nvim/lua/plugins/autopairs.lua @@ -4,4 +4,5 @@ return { event = "InsertEnter", opts = {}, }, -} \ No newline at end of file +} + diff --git a/nvim/lua/plugins/harpoon.lua b/nvim/lua/plugins/harpoon.lua index a919e90..af0e019 100644 --- a/nvim/lua/plugins/harpoon.lua +++ b/nvim/lua/plugins/harpoon.lua @@ -5,12 +5,50 @@ return { dependencies = { "nvim-lua/plenary.nvim" }, opts = {}, keys = { - { "a", function() require("harpoon"):list():add() end, desc = "Harpoon Add File" }, - { "", function() local harpoon = require("harpoon") harpoon.ui:toggle_quick_menu(harpoon:list()) end, desc = "Harpoon Quick Menu" }, - { "", function() require("harpoon"):list():select(1) end, desc = "Harpoon File 1" }, - { "", function() require("harpoon"):list():select(2) end, desc = "Harpoon File 2" }, - { "", function() require("harpoon"):list():select(3) end, desc = "Harpoon File 3" }, - { "", function() require("harpoon"):list():select(4) end, desc = "Harpoon File 4" }, + { + "h", + function() + require("harpoon"):list():add() + end, + desc = "Harpoon Add File", + }, + { + "", + function() + local harpoon = require("harpoon") + harpoon.ui:toggle_quick_menu(harpoon:list()) + end, + desc = "Harpoon Quick Menu", + }, + { + "", + function() + require("harpoon"):list():select(1) + end, + desc = "Harpoon File 1", + }, + { + "", + function() + require("harpoon"):list():select(2) + end, + desc = "Harpoon File 2", + }, + { + "", + function() + require("harpoon"):list():select(3) + end, + desc = "Harpoon File 3", + }, + { + "", + function() + require("harpoon"):list():select(4) + end, + desc = "Harpoon File 4", + }, }, }, -} \ No newline at end of file +} +