VS Code has integrated Git functionality and there are many extensions for other Git-related tasks. I've been searching for ways to do the same with Vim, but not found any. Are there vim extensions that integrate with Git for status information, and diff, and push/pull etc, for Git in general and GitHub in particular?
CodePudding user response:
Well, Vim's built-in support for various Version Control Systems is pretty much limited to:
- syntax and formatting when you are doing things like
$ git commit
, - the ability to execute arbitrary external commands with
:help :!
, like:!git checkout feature/foo-bar
.
Beyond that, you will have to look for third-party plugins at vim.org.
CodePudding user response:
Good, old vim-fugitive. There also is vim-gitgutter. Also additional support in NERDTree.
Just browse plugins on Vim Awesome to find many
Not to mention that Vim has some build-in support and is commonly used as mergetool