use neogit, cause I love magit

This commit is contained in:
Thomas Ruoff
2025-11-25 08:03:18 +01:00
parent bf4e7ca37b
commit 25f46e7875

View File

@@ -1,22 +1,33 @@
return { return {
{ -- Adds git related signs to the gutter, as well as utilities for managing changes {
'lewis6991/gitsigns.nvim', 'NeogitOrg/neogit',
opts = { lazy = false,
signs = { dependencies = {
add = { text = '+' }, 'nvim-lua/plenary.nvim', -- required
change = { text = '~' }, 'sindrets/diffview.nvim', -- optional - Diff integration
delete = { text = '_' }, 'folke/snacks.nvim', -- optional
topdelete = { text = '' },
changedelete = { text = '~' },
}, },
opts = {
graph_style = 'kitty',
kind = 'vsplit',
integrations = {
diffview = 'diffview',
},
},
keys = {
{ '<leader>gs', ':Neogit<CR>', { desc = '[g]it [s]tatus' } },
}, },
}, },
{ {
'tpope/vim-fugitive', 'sindrets/diffview.nvim',
keys = { dependencies = { 'nvim-tree/nvim-web-devicons' },
{ '<leader>gs', ':vertical Git<CR>', { desc = '[g]it [s]tatus' } },
}, },
}, -- {
{ 'tpope/vim-rhubarb' }, -- 'tpope/vim-fugitive',
{ 'sindrets/diffview.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' } }, -- lazy = false,
-- keys = {
-- { '<leader>gs', ':vertical Git<CR>', { desc = '[g]it [s]tatus' } },
-- },
-- },
-- { 'tpope/vim-rhubarb' },
} }