mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-26 07:08:34 +02:00
adding harpoon and live grep args
adding: - harpoon - live grep args - cpp debug
This commit is contained in:
parent
2f9238d2d3
commit
4f7d45ed42
4 changed files with 72 additions and 21 deletions
8
lua/custom/plugins/goto-preview.lua
Normal file
8
lua/custom/plugins/goto-preview.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
{
|
||||
'rmagatti/goto-preview',
|
||||
event = 'BufEnter',
|
||||
config = true, -- necessary as per https://github.com/rmagatti/goto-preview/issues/88
|
||||
default_mappings = true,
|
||||
},
|
||||
}
|
23
lua/custom/plugins/harpoon.lua
Normal file
23
lua/custom/plugins/harpoon.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
"ThePrimeagen/harpoon",
|
||||
config = function()
|
||||
local mark = require("harpoon.mark")
|
||||
local ui = require("harpoon.ui")
|
||||
|
||||
vim.keymap.set("n", "<leader>a", mark.add_file, { desc = "Harpoon: Mark File" })
|
||||
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu, { desc = "Toggle Harpoon Menu" })
|
||||
|
||||
vim.keymap.set("n", "<C-t>", function()
|
||||
ui.nav_file(1)
|
||||
end, { desc = "Harpoon File 1" })
|
||||
vim.keymap.set("n", "<C-s>", function()
|
||||
ui.nav_file(2)
|
||||
end, { desc = "Harpoon File 2" })
|
||||
vim.keymap.set("n", "<C-b>", function()
|
||||
ui.nav_file(3)
|
||||
end, { desc = "Harpoon File 3" })
|
||||
vim.keymap.set("n", "<C-g>", function()
|
||||
ui.nav_file(4)
|
||||
end, { desc = "Harpoon File 4" })
|
||||
end,
|
||||
}
|
|
@ -63,7 +63,8 @@ return {
|
|||
-- online, please don't ask me how to install them :)
|
||||
ensure_installed = {
|
||||
-- Update this to ensure that you have the debuggers for the langs you want
|
||||
'delve',
|
||||
-- 'delve',
|
||||
'codelldb',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue