Skip to content

Commit

Permalink
feat(git): add neogit (#123)
Browse files Browse the repository at this point in the history
* feat(git): add neogit

* Update lua/astrocommunity/git/neogit/neogit.lua

Co-authored-by: Micah Halter <[email protected]>

* Update lua/astrocommunity/git/neogit/neogit.lua

Co-authored-by: Micah Halter <[email protected]>

---------

Co-authored-by: Micah Halter <[email protected]>
  • Loading branch information
taskylizard and mehalter authored Apr 6, 2023
1 parent bbb34c5 commit 512dc00
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/git/neogit/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# neogit

**Repository:** https://github.com/TimUntersberger/neogit

A work-in-progress Magit clone for Neovim that is geared toward the Vim philosophy.
16 changes: 16 additions & 0 deletions lua/astrocommunity/git/neogit/neogit.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
return {
{
"TimUntersberger/neogit",
dependencies = {
{ "nvim-lua/plenary.nvim" },
},
event = "User AstroGitFile",
keys = {
{ "<leader>gn", desc = "Neogit", mode = { "n" } },
{ "<leader>gnt", "<cmd>Neogit<CR>", desc = "Open Neogit Tab Page" },
{ "<leader>gnc", "<cmd>Neogit commit<CR>", desc = "Open Neogit Commit Page" },
{ "<leader>gnd", ":Neogit cwd=", desc = "Open Neogit Override CWD" },
{ "<leader>gnk", ":Neogit kind=", desc = "Open Neogit Override Kind" },
},
},
}

0 comments on commit 512dc00

Please sign in to comment.