add git fugitive

This commit is contained in:
krolyxon 2023-04-04 16:45:05 +05:30
parent cfa6df0f06
commit 2f20e39748
2 changed files with 14 additions and 0 deletions

View File

@ -136,6 +136,13 @@ M.telescope = {
}, },
} }
M.fugitive = {
plugin = true,
n = {
["<leader>gs"] = { "<cmd> Git <CR>", "Git" }
}
}
M.undotree = { M.undotree = {
plugin = true, plugin = true,
n = { n = {

View File

@ -52,6 +52,13 @@ local plugins = {
end, end,
}, },
{ "tpope/vim-fugitive",
cmd = "Git",
init = function ()
require("core.utils").load_mappings "fugitive"
end
},
{ "nvim-telescope/telescope.nvim", { "nvim-telescope/telescope.nvim",
cmd = "Telescope", cmd = "Telescope",
config = function() config = function()