improve neogit ergonomy. no more stage all & no diffview

This commit is contained in:
Antoine Vaure 2025-05-26 15:31:21 +02:00
parent 588530be9e
commit bf50dad867

View file

@ -330,16 +330,24 @@ local plugins = {
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", -- required "nvim-lua/plenary.nvim", -- required
"nvim-telescope/telescope.nvim", -- optional "nvim-telescope/telescope.nvim", -- optional
"sindrets/diffview.nvim", -- optional
"ibhagwan/fzf-lua", -- optional "ibhagwan/fzf-lua", -- optional
}, },
opts = { config = function()
require("neogit").setup({
sections = { sections = {
untracked = { untracked = {
folded = true, folded = true,
} }
},
mappings = {
status = {
["S"] = "Stage",
["<S-S>"] = "Stage",
["<C-S>"] = "Stage",
} }
} }
})
end
}, },
{ {
"RRethy/vim-illuminate", "RRethy/vim-illuminate",