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',
lazy = false,
dependencies = {
'nvim-lua/plenary.nvim', -- required
'sindrets/diffview.nvim', -- optional - Diff integration
'folke/snacks.nvim', -- optional
},
opts = { opts = {
signs = { graph_style = 'kitty',
add = { text = '+' }, kind = 'vsplit',
change = { text = '~' }, integrations = {
delete = { text = '_' }, diffview = 'diffview',
topdelete = { text = '' },
changedelete = { text = '~' },
}, },
}, },
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' }, -- {
{ 'sindrets/diffview.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' } }, -- 'tpope/vim-fugitive',
-- lazy = false,
-- keys = {
-- { '<leader>gs', ':vertical Git<CR>', { desc = '[g]it [s]tatus' } },
-- },
-- },
-- { 'tpope/vim-rhubarb' },
} }