adding copilot and harpoon
This commit is contained in:
parent
f0287843d8
commit
3106037ce8
3 changed files with 24 additions and 2 deletions
5
lua/lornest/plugins/copilot.lua
Normal file
5
lua/lornest/plugins/copilot.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
{
|
||||
"github/copilot.vim",
|
||||
},
|
||||
}
|
||||
15
lua/lornest/plugins/harpoon.lua
Normal file
15
lua/lornest/plugins/harpoon.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
'ThePrimeagen/harpoon',
|
||||
config = function()
|
||||
local mark = require("harpoon.mark")
|
||||
local ui = require("harpoon.ui")
|
||||
|
||||
vim.keymap.set("n", "<leader>ha", mark.add_file)
|
||||
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
|
||||
|
||||
vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
|
||||
vim.keymap.set("n", "<C-t>", function() ui.nav_file(2) end)
|
||||
vim.keymap.set("n", "<C-n>", function() ui.nav_file(3) end)
|
||||
vim.keymap.set("n", "<C-s>", function() ui.nav_file(4) end)
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue