custom settings
This commit is contained in:
parent
6fc5fda67d
commit
198447271b
7 changed files with 138 additions and 0 deletions
8
lua/custom/plugins/fugative.lua
Normal file
8
lua/custom/plugins/fugative.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
{
|
||||
'vim-fugitive',
|
||||
keys = {
|
||||
{'<leader>gs', vim.cmd.Git, desc = 'open git'}
|
||||
}
|
||||
}
|
||||
}
|
||||
19
lua/custom/plugins/harpoon.lua
Normal file
19
lua/custom/plugins/harpoon.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
{
|
||||
"theprimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
require("harpoon"):setup()
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>A", function() require("harpoon"):list():append() end, desc = "harpoon file", },
|
||||
{ "<leader>a", function() local harpoon = require("harpoon") harpoon.ui:toggle_quick_menu(harpoon:list()) end, desc = "harpoon quick menu", },
|
||||
{ "<leader>1", function() require("harpoon"):list():select(1) end, desc = "harpoon to file 1", },
|
||||
{ "<leader>2", function() require("harpoon"):list():select(2) end, desc = "harpoon to file 2", },
|
||||
{ "<leader>3", function() require("harpoon"):list():select(3) end, desc = "harpoon to file 3", },
|
||||
{ "<leader>4", function() require("harpoon"):list():select(4) end, desc = "harpoon to file 4", },
|
||||
{ "<leader>5", function() require("harpoon"):list():select(5) end, desc = "harpoon to file 5", },
|
||||
},
|
||||
},
|
||||
}
|
||||
8
lua/custom/plugins/undotree.lua
Normal file
8
lua/custom/plugins/undotree.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
{
|
||||
'mbbill/undotree',
|
||||
keys = {
|
||||
{'<leader>u',vim.cmd.UndotreeToggle, desc = 'toggle undotree'}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue