wozers
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
local misc = require("core.misc")
|
||||
local map = misc.map
|
||||
-- TODO: might end up writing my own because I like harpoon, but I hate that it
|
||||
-- doesn't work properly without being pinned to a specific commit
|
||||
|
||||
local map = core.misc.map
|
||||
|
||||
return { "ThePrimeagen/harpoon",
|
||||
disable = not vim.fn.has("nvim-0.8.0"),
|
||||
@ -14,7 +16,7 @@ return { "ThePrimeagen/harpoon",
|
||||
map("n", "<leader>a", function()
|
||||
harpoon:list():add()
|
||||
vim.notify("added "..vim.fn.expand("%:t").." to quickmarks",
|
||||
vim.log.levels.INFO, { title = misc.appid })
|
||||
vim.log.levels.INFO, { title = core.misc.appid })
|
||||
end, { desc = "add current file to quickmarks" })
|
||||
|
||||
map("n", "<C-e>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
|
||||
|
Reference in New Issue
Block a user