mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-15 05:23:50 +00:00
24 lines
756 B
Lua
24 lines
756 B
Lua
return {
|
|
{
|
|
-- Git related plugins
|
|
"tpope/vim-fugitive",
|
|
dependencies = {
|
|
{
|
|
"rbong/vim-flog",
|
|
lazy = true,
|
|
cmd = { "Flogsplit" },
|
|
},
|
|
"idanarye/vim-merginal",
|
|
},
|
|
keys = {
|
|
-- Switch in fugitive.vim status window with the current one
|
|
{ "<leader>gs", "<cmd>Gedit :<cr>", desc = "[G]it [S]tatus" },
|
|
{ "<leader>gF", "<cmd>Git fetch<cr>", desc = "[G]it [F]etch" },
|
|
{ "<leader>gP", "<cmd>Git push<cr>", desc = "[G]it [P]ush" },
|
|
{ "<leader>gp", "<cmd>Git pull<cr>", desc = "[G]it [P]ull" },
|
|
{ "<leader>gl", "<cmd>Flogsplit<cr><cmd>wincmd k<cr><cmd>q<cr>", desc = "[G]it [L]og" },
|
|
{ "<leader>gm", "<cmd>Merginal<cr>", desc = "[G]it [M]erginal" },
|
|
},
|
|
},
|
|
}
|