mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
use neogit, cause I love magit
This commit is contained in:
@@ -1,22 +1,33 @@
|
||||
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 = {
|
||||
signs = {
|
||||
add = { text = '+' },
|
||||
change = { text = '~' },
|
||||
delete = { text = '_' },
|
||||
topdelete = { text = '‾' },
|
||||
changedelete = { text = '~' },
|
||||
graph_style = 'kitty',
|
||||
kind = 'vsplit',
|
||||
integrations = {
|
||||
diffview = 'diffview',
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ '<leader>gs', ':Neogit<CR>', { desc = '[g]it [s]tatus' } },
|
||||
},
|
||||
},
|
||||
{
|
||||
'tpope/vim-fugitive',
|
||||
keys = {
|
||||
{ '<leader>gs', ':vertical Git<CR>', { desc = '[g]it [s]tatus' } },
|
||||
},
|
||||
'sindrets/diffview.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
},
|
||||
{ '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' },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user