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 = {
|
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()
|
||||||
sections = {
|
require("neogit").setup({
|
||||||
untracked = {
|
sections = {
|
||||||
folded = true,
|
untracked = {
|
||||||
|
folded = true,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mappings = {
|
||||||
|
status = {
|
||||||
|
["S"] = "Stage",
|
||||||
|
["<S-S>"] = "Stage",
|
||||||
|
["<C-S>"] = "Stage",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
}
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"RRethy/vim-illuminate",
|
"RRethy/vim-illuminate",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue