Files
scripts/nvim/lua/plugins/neogit.lua
T
adamfandClaude Fable 5 5b354f172e Clean up nvim config: drop duplicate plugins, simplify colorscheme setup
- Remove nvim-autopairs (LazyVim's mini.pairs already handles pairing)
- Remove spectre (superseded by LazyVim's grug-far, conflicted on <leader>sr)
- Remove todo-comments override (LazyVim default covers it; <leader>st
  pointed at TodoTelescope, which is broken without telescope)
- Trim colorscheme.lua to oxocarbon only, set via LazyVim opts; fix
  install colorscheme in lazy.lua
- Delete disabled greggh/claude-code.nvim spec
- Drop obsolete which-key config function and empty defaults table
- Tile vertically for any multi-file open, not just exactly two
- Add stylua.toml and format all lua to 2-space indent

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-07 13:11:02 +01:00

45 lines
803 B
Lua

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,
},
},
},
}