Vcs plugin for vim?

What VCS (git, hg) plugin for vim do you recommend?

+3
source share
2 answers

For git, I recommend fugitive . I especially like the good integration of diff mode, (: Gdiff), which allows for interactive additions.

+4
source

vcscommand.vim is what you are looking for. I have not used it with Git or Mercurial, but I really use it with Subversion. Check the documentation for all the commands; the display section tells you how to call them:

|<Leader>|ca VCSAdd
|<Leader>|cn VCSAnnotate
|<Leader>|cN VCSAnnotate!
|<Leader>|cc VCSCommit
|<Leader>|cD VCSDelete
|<Leader>|cd VCSDiff
|<Leader>|cg VCSGotoOriginal
|<Leader>|cG VCSGotoOriginal!
|<Leader>|ci VCSInfo
|<Leader>|cl VCSLog
|<Leader>|cL VCSLock
|<Leader>|cr VCSReview
|<Leader>|cs VCSStatus
|<Leader>|cu VCSUpdate
|<Leader>|cU VCSUnlock
|<Leader>|cv VCSVimDiff

Vim, (\ cN, ) ,

+3

Source: https://habr.com/ru/post/1763492/


All Articles