init
This commit is contained in:
24
nvim/lua/plugins/extras/editor/git/neogit.lua
Normal file
24
nvim/lua/plugins/extras/editor/git/neogit.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
local prefix = "<leader>gn"
|
||||
|
||||
return {
|
||||
{
|
||||
"NeogitOrg/neogit",
|
||||
cmd = "Neogit",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ prefix .. "n", "<cmd>Neogit<cr>", desc = "Neogit (Root Dir)" },
|
||||
{ prefix .. "c", "<cmd>Neogit commit<cr>", desc = "Commit" },
|
||||
{ prefix .. "p", "<cmd>Neogit pull<cr>", desc = "Pull" },
|
||||
{ prefix .. "P", "<cmd>Neogit push<cr>", desc = "Push" },
|
||||
{ prefix .. "f", "<cmd>Neogit fetch<cr>", desc = "Fetch" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
opts = {
|
||||
spec = {
|
||||
{ prefix, group = "neogit", icon = " " },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user