-4

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?

YorSubs
  • 3,194
  • 7
  • 37
  • 60
  • https://www.vim.org/scripts/script_search_results.php?keywords=git&script_type=&order_by=rating&direction=descending&search=search – phd Sep 27 '21 at 12:13

2 Answers2

1

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

Jorengarenar
  • 2,705
  • 5
  • 23
  • 60
  • @YorSubs Fugitive is first result of googling `vim git plugin`, so "_I've been searching_" is quite... you know. It's very common topic on various forums – Jorengarenar Sep 27 '21 at 12:25
  • 1
    1. "vim", "git", and "extension" are all keywords extracted from your question which, put together in your favourite search engine, would have given you all the links above and then some in the first couple of pages. So no, you obviously didn't do _any_ research before posting your question. 2. "Questions seeking recommendations for books, tools, software libraries, and more" are forbidden on this site anyway. Try harder next time. – romainl Sep 27 '21 at 12:49
1

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.

romainl
  • 186,200
  • 21
  • 280
  • 313