An open API service indexing awesome lists of open source software.

https://github.com/dannickbedard/githelper.nvim

Small plugin to help staging, unstaging, discarding, commiting and pushing file with git.
https://github.com/dannickbedard/githelper.nvim

git nvim nvim-plugin

Last synced: 8 months ago
JSON representation

Small plugin to help staging, unstaging, discarding, commiting and pushing file with git.

Awesome Lists containing this project

README

          

# githelper.nvim
Small plugin to help stagins file, unstage, discard, commit and push with git.

## Features in image :
Capture d’écran, le 2024-07-19 à 23 33 41

Commit :
commit

## Setup

```lua
{
"DannickBedard/githelper.nvim",
config = function ()
local border = require("githelper.border")

local gitKeymap = { -- Default keymap
quit = "q",
edit = "",
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
}
```

# TODOS :
- [ ] Diff
- [x] 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