- Notifications
You must be signed in to change notification settings - Fork3
Git intergration for neovim.
License
NotificationsYou must be signed in to change notification settings
ipod825/igit.nvim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Use you preferred package manager. Below we usepacker.nvim as an example.
use {'nvim-lua/plenary.nvim'}use {"ipod825/libp.nvim",config=function()require("libp").setup()end,}use {"ipod825/igit.nvim",config=function()require("igit").setup()end,}
:IGit status" Opens the status page (defaults with -s argument.):IGit status--long" Opens customized status page.:IGitlog" Opens the log page (defaults with"--oneline--branches--graph--decorate=short"):IGitlog--pretty="format:%h%x09%an%x09%ad%x09%s"" Opens Customized log page:IGit branch" Opens the branch page (defaults with -v argument.):IGit branch--abrev" Opens customized branch page.:belowright IGit status" Opens pages with modifier.:IGitlog |tabmove-1" Execut commands after opening the page.:IGit push" Execute common git commands (missing commands can be added. See :help igit-customization)
See:help igit-mappings
.
Highlights:
- Interactive staging with vim diff window.
- Rebase chains of commits in branch or log pages.
- Add/Remove/Rename branches in branch pages just like editing files.
See:help igit-customization
.
Highlights:
- Default command name
IGit
is customizable. - Pages open command is customizable.
- Mappings handlers takes lua functions.