Small plugin to help stagins file, unstage, discard, commit and push with git.
{
"DannickBedard/githelper.nvim",
config = function ()
local border = require("githelper.border")
local gitKeymap = { -- Default keymap
quit = "q",
edit = "<cr>",
stage = "s",
unstage = "u",
discard = "d",
commit = "c",
push = "p",
pull = "pl",
}
require("githelper").setup({
border = border.simpleRoundedBorder, -- doubleBorder, simpleBorder, simpleRoundedBorder, simpleThickBorder
gitKeymap = gitKeymap
});
end
}
- Diff
- Make the view
- Window won't always open...
- Make a confirmation for discarding
- Make window
- Add settings in setup to disable this feature if you find it annoying