Skip to content

Commit bfeb810

Browse files
added primes harpoon
1 parent f5847f2 commit bfeb810

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
@@ -669,6 +669,37 @@ require('lazy').setup({
669669
}
670670
end,
671671
},
672+
673+
-- Prime's Harpoon2
674+
{
675+
'ThePrimeagen/harpoon',
676+
branch = 'harpoon2',
677+
dependencies = {
678+
'nvim-lua/plenary.nvim',
679+
},
680+
lazy = false,
681+
config = function()
682+
require('harpoon'):setup({})
683+
end,
684+
keys = {
685+
{
686+
'<leader>a',
687+
function()
688+
require('harpoon'):list():add()
689+
end,
690+
mode = 'n',
691+
desc = '[A]dd to Harpoon',
692+
},
693+
{
694+
'<C-e>',
695+
function()
696+
local files = require('harpoon'):list() or {}
697+
require('harpoon').ui:toggle_quick_menu(files)
698+
end,
699+
desc = 'Toggle Harpoon [E]xplorer',
700+
},
701+
},
702+
},
672703
-- neoconf.nvim
673704
{
674705
'folke/neoconf.nvim',
@@ -730,7 +761,7 @@ require('lazy').setup({
730761
formatters_by_ft = {
731762
lua = { 'stylua' },
732763
-- Conform can also run multiple formatters sequentially
733-
-- python = { "isort", "black" },
764+
-- pyt,on = { "isort", "black" },
734765
--
735766
-- You can use a sub-list to tell conform to run *until* a formatter
736767
-- is found.

0 commit comments

Comments
 (0)