mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nvim: remove harpoon
This commit is contained in:
parent
38b704da0e
commit
8da82663e5
2 changed files with 0 additions and 23 deletions
|
|
@ -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" },
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue