nvim: harpoon
This commit is contained in:
parent
d9b1848bd3
commit
20a720b1a5
1 changed files with 19 additions and 2 deletions
|
@ -6,6 +6,20 @@ return {
|
||||||
cmd = 'ColorizerToggle',
|
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',
|
's1n7ax/nvim-window-picker',
|
||||||
config = true,
|
config = true,
|
||||||
|
@ -176,9 +190,12 @@ return {
|
||||||
{
|
{
|
||||||
'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
|
'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
require('lsp_lines').setup()
|
local lines = require('lsp_lines')
|
||||||
|
lines.setup()
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_lines = { only_current_line = true },
|
virtual_lines = {
|
||||||
|
only_current_line = true
|
||||||
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue