Hacker GitHub

← All repos

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

Mentions per year 67 mentions · busiest year 2013 (8)
20082026
  1. …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.
  2. 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…
  3. …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
  4. https://github.com/tpope/vim-fugitive/blob/b068eaf1e6cbe35d1... for reference, an example from a tpope plugin
  5. …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
  6. …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
  7. …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
    comment by Lio · 2024-01-08 · in GitUI
  8. 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
  9. ▲ 1
    Fugitive.vim: A Git wrapper so awesome, it should be illegal
    story by keepamovin · 2023-06-27 · 0 comments
  10. …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...
  11. …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
  12. 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
  13. …file navigation ( https://github.com/junegunn/fzf.vim ) - vim fugitive for good git integration ( https://github.com/tpope/vim-fugitive ) - some other tpope plugins (surround, unimpared, commentary, vinegar)
    comment by Bromeo · 2022-06-30 · in Vim 9.0
  14. …\ : 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
  15. …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
  16. …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
  17. 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)
  18. …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
  19. …for vim. Can anyone compare those two well enough, so that I understand what I am missing? [1]: https://github.com/tpope/vim-fugitive
    comment by karl42 · 2021-05-25 · in Magit 3.0
  20. 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
  21. 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
  22. 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
  23. …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/
  24. …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
  25. Another option, if you're using Vim, is to use Tim Pope's Git plugin, Fugitive[0] [0] https://github.com/tpope/vim-fugitive
  26. …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
  27. Anyone know how to get this working with vim-fugitive? https://github.com/tpope/vim-fugitive
  28. …[1] https://black.readthedocs.io/en/stable/ [2] https://github.com/kalekundert/vim-coiled-snake [3] https://github.com/tpope/vim-fugitive
    comment by njt · 2019-12-13 · in Vim 8.2
  29. …handy commands as `Gcommit`, `Gadd`, and one of my personal favourites, colour-coded `Gblame`. [0] https://github.com/tpope/vim-fugitive
  30. …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?
  31. 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
  32. 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
  33. 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
  34. …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
  35. …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
  36. https://github.com/tpope/vim-fugitive
    comment by panzerklein · 2018-02-01 · in GRV – Git Repository Viewer
  37. …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,…
  38. …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…
  39. 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
  40. …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
  41. For vimmers: https://github.com/tpope/vim-fugitive is awesome, especially for only adding only parts of a file to a commit.
    comment by egjerlow · 2016-04-20 · in Git Tips
  42. …- 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
  43. 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.
  44. …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
  45. ▲ 2
    Vim-fugitive now works with vcsh
    story by saidajigumi · 2014-11-06 · 1 comment
  46. …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?
  47. ▲ 1
    Place extra emphasis on a clean history [git]
    story by CGamesPlay · 2014-03-12 · 0 comments
  48. …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?
  49. ▲ 4
    fugitive.vim: a git wrapper
    story by jm3 · 2013-07-09 · 1 comment
  50. …the history view and other features of tig are worth checking out. [Edited for links] Fugitive: https://github.com/tpope/vim-fugitive Some helpful screencasts can be found here between April and May 2011 http://vimcasts.org/episodes/archive
    comment by tfinch · 2013-05-07 · in Git? tig