1
0
Fork 0

nvim: harpoon

This commit is contained in:
Vladimír Dudr 2023-09-13 17:31:14 +02:00
parent d9b1848bd3
commit 20a720b1a5

View file

@ -6,6 +6,20 @@ return {
cmd = 'ColorizerToggle',
},
{
'ThePrimeagen/harpoon',
keys = {
{ '<leader>fm', function () require("harpoon.mark").add_file() end, desc = "Harpoon mark file" },
{ '<leader>fh', function () require("harpoon.ui").toggle_quick_menu() end, desc = "Harpoon menu" },
{ '<C-1>', function () require("harpoon.ui").nav_file(1) end, desc = "Harpoon file 1" },
{ '<C-2>', function () require("harpoon.ui").nav_file(2) end, desc = "Harpoon file 2" },
{ '<C-3>', function () require("harpoon.ui").nav_file(3) end, desc = "Harpoon file 3" },
{ '<C-4>', function () require("harpoon.ui").nav_file(4) end, desc = "Harpoon file 4" },
{ '<C-5>', function () require("harpoon.ui").nav_file(5) end, desc = "Harpoon file 5" },
}
},
{
's1n7ax/nvim-window-picker',
config = true,
@ -176,9 +190,12 @@ return {
{
'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
config = function()
require('lsp_lines').setup()
local lines = require('lsp_lines')
lines.setup()
vim.diagnostic.config({
virtual_lines = { only_current_line = true },
virtual_lines = {
only_current_line = true
},
})
end,
},