just clone this repos in your ~/.config/nvim
dir.
Git
-
:G
- git status, or as start for any git command -
:Gvdiffsplit
- show diff with previous commit -
:Gvdiffsplit develop
- show diff with develop -
:Gvdiffsplit! develop
- show diff with develop but remain focus on original window -
:Gedit develop file2.c
- shows file2.c on develop -
:Gread
- replace buffer with content of the last commit -
:Gread develop file2.c
- replace buffer with content of file2.c on develop -
:Gwrite
- adds the current file to the staged files. -
:G blame
- Git Blame