Update nvim config: split plugins, update README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
16
nvim/lua/plugins/harpoon.lua
Normal file
16
nvim/lua/plugins/harpoon.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
{
|
||||
"ThePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "<leader>a", function() require("harpoon"):list():add() end, desc = "Harpoon Add File" },
|
||||
{ "<C-e>", function() local harpoon = require("harpoon") harpoon.ui:toggle_quick_menu(harpoon:list()) end, desc = "Harpoon Quick Menu" },
|
||||
{ "<C-1>", function() require("harpoon"):list():select(1) end, desc = "Harpoon File 1" },
|
||||
{ "<C-2>", function() require("harpoon"):list():select(2) end, desc = "Harpoon File 2" },
|
||||
{ "<C-3>", function() require("harpoon"):list():select(3) end, desc = "Harpoon File 3" },
|
||||
{ "<C-4>", function() require("harpoon"):list():select(4) end, desc = "Harpoon File 4" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user