tpope/vim-fugitive
View on GitHub ↗ ★ 21,818 Vim Script
fugitive.vim: A Git wrapper so awesome, it should be illegal
67 mentions on Hacker News by 64 people: 7 stories, 60 comments · first 2009-10-11 · latest 2026-02-27
20082026
-
…too hard to see in github gui. It depends one [tpope's vim-fugitive]. [tpope's vim-fugitive]: https://github.com/tpope/vim-fugitive I'll paste it next time I'm on that machine.
comment by jbaber · 2026-02-27 · in Show HN: Deff – Side-by-side Git diff review in your terminal -
For vim heads also worth checking out tpope's fugitive: https://github.com/tpope/vim-fugitive Very useful for inspecting and staging changes, making commits, etc. I find you can pretty much do anything with it, and it's much faster than…
comment by xyzzy_plugh · 2026-02-03 · in Show HN: difi – A Git diff TUI with Neovim integration (written in Go) -
…along each variable. Helix can also provide some hints, but not that many as rust-analyzer. [1] https://github.com/tpope/vim-fugitive [2] https://rust-analyzer.github.io/book/vs_code.html
comment by auraham · 2025-10-17 · in Notes on switching to Helix from Vim -
https://github.com/tpope/vim-fugitive/blob/b068eaf1e6cbe35d1... for reference, an example from a tpope plugin
comment by thor_molecules · 2025-02-15 · in Show HN: VimLM – A Local, Offline Coding Assistant for Vim -
…it, but I would assume fugitive is much the same (and quite wonderful from my experience). [1]: https://github.com/tpope/vim-fugitive
comment by zaep · 2024-12-17 · in Tig: Text-Mode Interface for Git -
…nice ways to deal with hunks or hunk partials (visually selecting a range within a hunk, for i.e.) https://github.com/tpope/vim-fugitive/blob/master/doc/fugiti...
comment by grimgrin · 2024-02-16 · in How to commit part of file in Git -
Did you try fugitive as a Magic replacement? https://github.com/tpope/vim-fugitive
comment by karl42 · 2023-09-08 · in What's new in Emacs 29.1 -
▲ 1
Fugitive.vim: A Git wrapper so awesome, it should be illegalstory by keepamovin · 2023-06-27 · 0 comments
-
…It also works on visually selected ranges, automatically linking to the range in github [1] https://github.com/tpope/vim-fugitive [2] https://github.com/tpope/vim-fugitive/blob/master/doc/fugiti...
comment by grantjpowell · 2022-11-23 · in Show HN: CodeLink: create links to blocks of code in your IDE -
…I haven’t used fugitive[2] in Vim but that’s a thing that exists too. [1] https://magit.vc/ [2] https://github.com/tpope/vim-fugitive
comment by nequo · 2022-10-15 · in Ask HN: Is it still possible to live in a terminal? -
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,…
comment by suprjami · 2022-09-18 · in GitUI: Terminal UI for Git -
…\ : fzf#vim#with_preview('right:50%:hidden', '?'), \ <bang>0) ``` [1]: https://github.com/tpope/vim-fugitive/blob/master/README.mar... [2]: https://vi.stackexchange.com/a/20671 [3]: https://vimawesome.com/plugin/fzf-vim
comment by yasenn · 2022-01-28 · in Vim Galore: everything you need to know about Vim -
…I still just have gutentags and mostly just grep/search for `def func` like you currently do. [0] https://github.com/tpope/vim-fugitive [1] https://github.com/ludovicchabant/vim-gutentags
comment by sodapopcan · 2022-01-28 · in Vim Galore: everything you need to know about Vim -
…but are needed by lazygit to reposition commits. [0]: https://github.com/jesseduffield/lazygit [1]: https://github.com/tpope/vim-fugitive
comment by bronzecarnage · 2022-01-19 · in A Better Git Flow -
There's also the criminally-underrated fugitive.vim. Not lua though. https://github.com/tpope/vim-fugitive
comment by petepete · 2021-10-22 · in Magit, the magical Git interface (2017) -
…redraw!<CR> nnoremap gO :<C-u>silent !tig<CR>:silent redraw!<CR> [1]: https://github.com/tpope/vim-fugitive [2]: https://github.com/jonas/tig
comment by ackyshake · 2021-07-08 · in A work-in-progress Magit clone for Neovim -
How does Vim's fugitive ( https://github.com/tpope/vim-fugitive/ ) plugin compare to this, in case anyone here has used them both? I've only used it for some basic things so far, and it seems nice enough, but I'm wondering if it's good…
comment by sundarurfriend · 2021-03-18 · in Correct Git commits with git-autofixup -
I’m a big fan of tpope’s fugitive: https://github.com/tpope/vim-fugitive
comment by wrboyce · 2020-12-16 · in Tig – Text-mode interface for Git -
And for Vim nerds: https://github.com/tpope/vim-fugitive (I tend to be using different editors most of the time, but haven't found a text editor Git integration better than either Magit or Fugitive.)
comment by chipotle_coyote · 2020-12-16 · in Tig – Text-mode interface for Git -
…you want. For me personally, as I use Vim for everything, it's not that big of a deal. [1]: https://github.com/tpope/vim-fugitive [2]: https://github.com/airblade/vim-gitgutter [3]: https://nathansmith.io/posts/neovim-lsp/
comment by lawn · 2020-11-09 · in Why are so many coders still using Vim and Emacs? -
…mean that it's the de facto editor for every situation. [1] https://github.com/beeender/Comrade [2] https://github.com/tpope/vim-fugitive
comment by pcvonz · 2020-09-07 · in My thoughts about editors in 2020 -
Another option, if you're using Vim, is to use Tim Pope's Git plugin, Fugitive[0] [0] https://github.com/tpope/vim-fugitive
comment by Agentlien · 2020-07-08 · in Git commit accepts several message flags (-m) to allow multiline commits -
…level of customization, vim-fugitive comes to mind though I'm sure there are better examples. ( https://github.com/tpope/vim-fugitive )
comment by Reelin · 2020-05-08 · in Making Emacs Popular Again -
Anyone know how to get this working with vim-fugitive? https://github.com/tpope/vim-fugitive
comment by firloop · 2020-04-27 · in Show HN: A syntax highlighter for Git and diff output, written in Rust -
…handy commands as `Gcommit`, `Gadd`, and one of my personal favourites, colour-coded `Gblame`. [0] https://github.com/tpope/vim-fugitive
comment by _verandaguy · 2019-10-08 · in 99% of the Git commands you'll need at work, demonstrated in a single script -
…every time I use fugitive[1]. [0]: https://www.destroyallsoftware.com/talks/a-whole-new-world [1]: https://github.com/tpope/vim-fugitive
comment by ScottFree · 2019-10-01 · in Why don’t we have good code editors? -
Well, I'm perfectly happy with [1]fugitive thank you :) Joke aside, why is magit magic? 1: https://github.com/tpope/vim-fugitive
comment by hyyypr · 2018-12-20 · in Work with Git Forges inside Emacs -
Hmm, ok. Check out vim's `diffthis` and https://github.com/tpope/vim-fugitive if you haven't. It sounds like it does the same thing. I'm suggesting this because you already use MacVim, so you'd get your familiar buffers and keystrokes,…
comment by hboon · 2018-12-07 · in BBEdit is turning 25 -
Fugitive is great: https://github.com/tpope/vim-fugitive
comment by tambourine_man · 2018-08-05 · in Show HN: I made a tool that made me faster at Git -
…manager going https://github.com/junegunn/vim-plug . * Fugitive. The best git wrapper there is https://github.com/tpope/vim-fugitive * vim-test. A plugin that helps you run tests from inside of Vim. https://github.com/janko-m/vim-test…
comment by jherdman · 2018-06-30 · in Vim plugins I use -
…something similar with stashes is a requested, but not yet implemented, feature for vim-fugitive: https://github.com/tpope/vim-fugitive/issues/236
comment by xenomachina · 2018-04-12 · in Why SQLite Does Not Use Git -
https://github.com/tpope/vim-fugitive
comment by panzerklein · 2018-02-01 · in GRV – Git Repository Viewer -
…I waited for a year that something similar comes to vim, trying to push this idea to fugitive https://github.com/tpope/vim-fugitive/issues/569 , without success. Finally, some first experiments showed that partial hunk stage was feasible,…
comment by jreybert · 2017-12-20 · in Oh shit, git: Getting myself out of bad situations -
…Most I do is scroll through tig and view diffs. Also used to play with a cool git plugin in vim ( https://github.com/tpope/vim-fugitive ). Also, GitHub has (since that linear git history post) introduced Rebase + Merge…
comment by git-pull · 2017-08-09 · in Git: Using Advanced Rebase Features for a Clean Repository -
I think you can do that via fugitive in vim check it out. https://github.com/tpope/vim-fugitive
comment by michaelmrose · 2017-05-07 · in Plan Your Commits -
…repeat: http://www.vim.org/scripts/script.php?script_id=2136 git: https://github.com/tpope/vim-fugitive (tim pope plugin) undo: https://github.com/sjl/gundo.vim for repls: https://github.com/jpalardy/vim-slime for html: http
comment by entelechy · 2016-05-15 · in Ask HN: What are your must-have packages for vim? -
…- Customizable status line for showing all kinds of useful info about currently edited file https://github.com/tpope/vim-fugitive - Git wrapper that works together with airline https://github.com/mhinz/vim-startify - Shows your most…
comment by inDigiNeous · 2016-04-13 · in Vim 8.0 is coming -
You can basically do this in vim with https://github.com/tpope/vim-fugitive :Gblame to show a git blame sidebar, and P to open the file at that commit.
comment by ehsanu1 · 2015-09-05 · in Dead Code Should Be Buried – Why I Didn't Contribute to NLTK -
…50-char summary and 72-char line-wrapping. I use other clients for special purposes: Fugitive ( https://github.com/tpope/vim-fugitive ) primarily for git blame while working. SourceTree for visualizing branches and for staging individual…
comment by dasil003 · 2014-12-31 · in My Amazon S3 Mistake -
▲ 2
Vim-fugitive now works with vcshstory by saidajigumi · 2014-11-06 · 1 comment
-
…vim) https://github.com/tpope/vim-sensible Fugitive (make vim aware of your local git repository) https://github.com/tpope/vim-fugitive
comment by ejstronge · 2014-07-14 · in Ask HN: A better Vim distribution? -
▲ 1
Place extra emphasis on a clean history [git]story by CGamesPlay · 2014-03-12 · 0 comments
-
…pure vimscript status line https://github.com/kien/ctrlp.vim fuzzy file finder that mostly works https://github.com/tpope/vim-fugitive very nice Git wrapper https://github.com/scrooloose/syntastic generic in Vim syntax checker plugin…
comment by bpeebles · 2013-08-23 · in Ask HN: What Vim plugins do you use? -
▲ 4
fugitive.vim: a git wrapperstory by jm3 · 2013-07-09 · 1 comment