Update nvim config: split plugins, update README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
20
nvim/lua/plugins/neogit.lua
Normal file
20
nvim/lua/plugins/neogit.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
{
|
||||
"NeogitOrg/neogit",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"sindrets/diffview.nvim",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>gg", function() require("neogit").open() end, desc = "Neogit" },
|
||||
{ "<leader>gc", function() require("neogit").open({ "commit" }) end, desc = "Neogit Commit" },
|
||||
{ "<leader>gl", function() require("neogit").open({ "log" }) end, desc = "Neogit Log" },
|
||||
{ "<leader>gp", function() require("neogit").open({ "push" }) end, desc = "Neogit Push" },
|
||||
},
|
||||
opts = {
|
||||
integrations = {
|
||||
diffview = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user