Seamless Git Integration
Fugitive offers seamless integration with Git, allowing users to execute Git commands directly within Vim. This streamlines the workflow for developers who prefer staying within the Vim editor.
Efficiency
For Vim users, fugitive enhances productivity by minimizing context switching between the command line and editor. Users can perform complex Git operations without leaving Vim.
Comprehensive Feature Set
Fugitive supports a wide range of Git functionalities including diffing, status checking, branch management, and more. It acts like a comprehensive Git wrapper inside Vim.
Active Maintenance
The plugin is actively maintained, which ensures it remains compatible with Vim updates and continues to receive performance and feature improvements.
Community Support
Fugitive has a large user community, which means abundant resources, tutorials, and tips are available to help new users get up to speed quickly.
I agree, navigating blame history is incredibly useful, if only to save you from asking the wrong person about a particular change. Vim's Fugitive[1] can do this and also in Textmate to. So I would hope that most editor git plugins can. 1. https://github.com/tpope/vim-fugitive. - Source: Hacker News / over 1 year ago
You'll want to invest the time in learning Magit, which will change your life once you get the hang of it (and I was a heavy user of Fugitive in Vim previously!), and it's unlikely you'll find a better integration with GDB anywhere else on the planet than with Emacs, though I can't say that empirically. You just need to take the plunge and start learning it, then cut over and take the hit in productivity one day... Source: over 1 year ago
For an option that works on Vim, if you already use tpope's vim-fugitive, there's vim-rhubarb (for GitHub) and fugitive-gitlab.vim (for GitLab). Source: almost 2 years ago
I replace vim-fugitive with :! git. Source: almost 2 years ago
The only thing I truly miss from Emacs is [Magit](https://magit.vc/) since I still consider it the best git wrapper available. It is just too good. Unfortunately [Neogit](https://github.com/TimUntersberger/neogit) is not quite there yet although I hope it makes it at some point. I didn't like [Fugitive]https://github.com/tpope/vim-fugitive), but I ended up finding a good enough workaround by using... Source: almost 2 years ago
I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And... Source: almost 2 years ago
But how do I do that for a vim package like vim fugitive. Source: about 2 years ago
I'm using the vim-fugitive NeoVim plugin to get GitHub permalinks. Just select a portion of text, then use the command :GBrowse. Source: about 2 years ago
Yes, I can use mark for this, also with some plugin for saving them in a list, but my current approach - change something in a line - and I will see that line in my git diff through fugitive in :G, but better to see all changes/undo across multiple buffers... Source: about 2 years ago
Yes, vim-fugitive is used for this. Check out the “:GBrowse” command. Source: about 2 years ago
I have definitely done the thing where I write notes in a temporary buffer in Neovim to be later used for the amendment. Using Screen definitely makes switching to a different terminal window quite a bit easier though. My Emacs friends tell me that this is why they swear by Magit. I should be able to do something similar with Fugitive, which I do use, but I guess now that I'm thinking about it, it's never bugged... Source: about 2 years ago
Https://github.com/tpope/vim-fugitive Https://github.com/airblade/vim-gitgutter Since your already on neovim these plugins are excellent for git integration within vim! You may just prefer lazygit but having a tight integration in editor is definitely really nice for my personal workflow. Your approach is more unix-y where you have a tool for each job though! Source: over 2 years ago
If you use the vim fugitive plugin[1], The `:Gbrowse` command will open your browser to github on the correct file/commit. It also works on visually selected ranges, automatically linking to the range in github [1] https://github.com/tpope/vim-fugitive. - Source: Hacker News / over 2 years ago
I highly recommend fugitive by tpope as u/SunnyNickname said. For me, it's probably one of my top 5 plugins I couldn't live without. As for the git merge, you can see it in action at http://vimcasts.org/episodes/fugitive-vim-resolving-merge-conflicts-with-vimdiff/. Source: over 2 years ago
>> Using the git CLI is much better for version control than the Jetbrains GUI wrapper > For some things. But for reviewing activity in git, and tracking changes across time, doing it in the terminal is unproductive and sucks. (e.g.: 10 levels deep of git blame) Magit[1] in Emacs is quite okay. It doesn’t feel duct-taped. I haven’t used fugitive[2] in Vim but that’s a thing that exists too. [1] https://magit.vc/... - Source: Hacker News / over 2 years ago
Personally I've found fugitive's :Git mergetool command very useful. Source: over 2 years ago
I haven't, but I don't use emacs. Crash course: `mkdir -p ~/.vim/pack/git/start` `git clone https://github.com/tpope/vim-fugitive ~/.vim/pack/git/start/vim-fugitive` Open a file under version control and `:Git blame` The commit shas, author, and date appear in a window to the left. `Ctrl+w Ctrl+w` to switch windows. Both windows scroll up and down together. Pressing `o` on a commit sha opens the full commit log... - Source: Hacker News / over 2 years ago
I think the current terrain of neovim Lua-based git plugins is still very immature and flowing. If you want stable and boring I would stay with https://github.com/tpope/vim-fugitive (see the overview article of the fugitive vimcasts series). Source: over 2 years ago
Thanks! It’s vim-fugitive using it’s built-in command :Gdiffsplit :). Source: over 2 years ago
Vim-fugitive with a bunch of keybindings for usual git operations. Source: over 2 years ago
Https://github.com/tpope/vim-fugitive (git, there are a few alternatives out there, you can try what's better for you). Source: over 2 years ago
Do you know an article comparing fugitive (via vim) to other products?
Suggest a link to a post with product alternatives.
This is an informative page about fugitive (via vim). You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.