improve neogit ergonomy. no more stage all & no diffview
This commit is contained in:
parent
588530be9e
commit
bf50dad867
1 changed files with 15 additions and 7 deletions
|
|
@ -330,16 +330,24 @@ local plugins = {
|
|||
dependencies = {
|
||||
"nvim-lua/plenary.nvim", -- required
|
||||
"nvim-telescope/telescope.nvim", -- optional
|
||||
"sindrets/diffview.nvim", -- optional
|
||||
"ibhagwan/fzf-lua", -- optional
|
||||
},
|
||||
opts = {
|
||||
sections = {
|
||||
untracked = {
|
||||
folded = true,
|
||||
config = function()
|
||||
require("neogit").setup({
|
||||
sections = {
|
||||
untracked = {
|
||||
folded = true,
|
||||
}
|
||||
},
|
||||
mappings = {
|
||||
status = {
|
||||
["S"] = "Stage",
|
||||
["<S-S>"] = "Stage",
|
||||
["<C-S>"] = "Stage",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
"RRethy/vim-illuminate",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue