nvim: remove harpoon

This commit is contained in:
Primrose 2025-07-16 22:07:50 +02:00
parent 38b704da0e
commit 8da82663e5
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 0 additions and 23 deletions

View file

@ -75,13 +75,6 @@ local plugins = {
-- Colorize hex codes
"NvChad/nvim-colorizer.lua",
-- Bookmark and bindings to bookmarks
{
"ThePrimeagen/harpoon",
dependencies = "nvim-lua/plenary.nvim",
branch = "harpoon2",
},
-- Highlight comments
{ "folke/todo-comments.nvim", dependencies = "nvim-lua/plenary.nvim" },

View file

@ -1,16 +0,0 @@
local harpoon = require("harpoon")
local map = vim.keymap.set
harpoon:setup {
settings = { save_on_toggle = true },
}
-- add and view
map("n", "<A-c>", function() harpoon:list():add() end)
map("n", "<A-g>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
-- switch it up!
map("n", "<A-h>", function() harpoon:list():select(1) end)
map("n", "<A-t>", function() harpoon:list():select(2) end)
map("n", "<A-n>", function() harpoon:list():select(3) end)
map("n", "<A-s>", function() harpoon:list():select(4) end)