Skip to content

Commit 30a93cb

Browse files
added primes harpoon
1 parent ca164c3 commit 30a93cb

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

init.lua

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,37 @@ require('lazy').setup({
687687
}
688688
end,
689689
},
690+
691+
-- Prime's Harpoon2
692+
{
693+
'ThePrimeagen/harpoon',
694+
branch = 'harpoon2',
695+
dependencies = {
696+
'nvim-lua/plenary.nvim',
697+
},
698+
lazy = false,
699+
config = function()
700+
require('harpoon'):setup({})
701+
end,
702+
keys = {
703+
{
704+
'<leader>a',
705+
function()
706+
require('harpoon'):list():add()
707+
end,
708+
mode = 'n',
709+
desc = '[A]dd to Harpoon',
710+
},
711+
{
712+
'<C-e>',
713+
function()
714+
local files = require('harpoon'):list() or {}
715+
require('harpoon').ui:toggle_quick_menu(files)
716+
end,
717+
desc = 'Toggle Harpoon [E]xplorer',
718+
},
719+
},
720+
},
690721
-- neoconf.nvim
691722
{
692723
'folke/neoconf.nvim',
@@ -748,7 +779,7 @@ require('lazy').setup({
748779
formatters_by_ft = {
749780
lua = { 'stylua' },
750781
-- Conform can also run multiple formatters sequentially
751-
-- python = { "isort", "black" },
782+
-- pyt,on = { "isort", "black" },
752783
--
753784
-- You can use a sub-list to tell conform to run *until* a formatter
754785
-- is found.

0 commit comments

Comments
 (0)