feat(nvim): add harpoon
This commit is contained in:
parent
cc72c96512
commit
d6ad810568
1 changed files with 12 additions and 0 deletions
|
@ -289,5 +289,17 @@ with builtins;
|
||||||
'';
|
'';
|
||||||
opts = { };
|
opts = { };
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
plugin = harpoon;
|
||||||
|
keys = [
|
||||||
|
{ key = "<leader>ha"; cmd = "<cmd>lua require('harpoon.mark').add_file()<cr>"; desc = "Add file"; }
|
||||||
|
{ key = "<leader>hh"; cmd = "<cmd>lua require('harpoon.ui').toggle_quick_menu()<cr>"; desc = "Harpoon"; }
|
||||||
|
{ key = "<leader>h1"; cmd = "<cmd>lua require('harpoon.ui').nav_file(1)<cr>"; desc = "Harpoon file 1"; }
|
||||||
|
{ key = "<leader>h2"; cmd = "<cmd>lua require('harpoon.ui').nav_file(2)<cr>"; desc = "Harpoon file 2"; }
|
||||||
|
{ key = "<leader>h3"; cmd = "<cmd>lua require('harpoon.ui').nav_file(3)<cr>"; desc = "Harpoon file 3"; }
|
||||||
|
{ key = "<leader>h4"; cmd = "<cmd>lua require('harpoon.ui').nav_file(4)<cr>"; desc = "Harpoon file 4"; }
|
||||||
|
];
|
||||||
|
opts = { };
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue