fugitive.vim
The topic of this article may not meet Wikipedia's notability guidelines for products and services. (August 2017) |
| fugitive.vim | |
|---|---|
An example of using fugitive.vim's :Gblame feature | |
| Original author | Tim Pope |
| Developer | Tim Pope et al. |
| Release | 15 February 2010[1] |
| Stable release | 3.7 / 7 June 2022[1]
|
| Written in | Vim script |
| Operating system | Unix, Linux, Windows NT, macOS, iOS, Android, AmigaOS |
| Available in | English |
| Type |
|
| License | Free software (Vim License), charityware |
| Repository | github |
fugitive.vim, also called vim-fugitive or just fugitive, is a Git wrapper written as a plugin for the Vim text editor. It was originally developed by Tim Pope, who still [when?] maintains the plugin.[2][3][4][5]
Name
[edit]As with other plugins by Tim Pope, the name of the plugin obliquely refers to its functionality. "fugitive.vim" contains the substring "git", as it is a Git wrapper. Pope later wrote rhubarb.vim, whose name contains the substring "hub", as it provides the :Gbrowse command to work with GitHub.[6] In a talk, Pope explained, "It's got the word 'git' in it because it works with Git. It was either that or 'agitate' and I think that might have been a better choice."[7]
"fugitive.vim" is the plugin's filename, while "vim-fugitive" is used for the GitHub repository name as well as for the package name in several Linux distributions.
History
[edit]The initial commit to the Git repository of the project was made on October 10, 2009.[8]
The initial version (version 1.0) was released on February 15, 2010.
Starting in March 2014 fugitive.vim was included in Debian's unstable branch.[9]
Features
[edit]The plugin provides standard Git commands from inside Vim, such as :Gstatus for git status.[10]
It also allows an interactive vertical split for git blame.[11]
Reception
[edit]fugitive.vim is one of around 30 Vim plugins to have its own package in the Ubuntu package repository.[12] It is also one of 16 Vim plugins in the official Fedora package repository.[13] The plugin is also available from the Arch Linux packages repository.[14]
The plugin is part of Vim distributions including spf13[15] and Janus.[16]
Drew Neil of Vimcasts covered fugitive.vim favorably in a multi-part series.[17]
The scripts page for fugitive.vim on the Vim website shows that the plugin has been downloaded almost 13,000 times.[1] As of February 2017[update], the plugin's repository on GitHub has nearly 8,000 stars,[18] and is the eighth most popular Vim script GitHub repository by number of stars.[19]
See also
[edit]- Magit, a Git wrapper for GNU Emacs
References
[edit]- 1 2 3 "fugitive.vim : A Git wrapper so awesome, it should be illegal". Retrieved February 8, 2017.
- ↑ Neil, Drew (2015). Practical Vim (2nd ed.). The Pragmatic Programmers. p. 273. ISBN 978-1-68050-127-8.
- ↑ McDonnell, Mark (2014). Pro Vim. Apress. ISBN 9781484202500.
- ↑ McDonnell, Mark (2014). tmux Taster. Apress. ISBN 9781484207758.
- ↑ "VIM and Python - a match made in heaven". Real Python. October 27, 2015. Retrieved February 9, 2017.
- ↑ "rhubarb.vim". GitHub. Retrieved February 9, 2016.
- ↑ Tim Pope (May 28, 2014). "tpope's Vim Config and Plugins". YouTube. Retrieved January 3, 2026.
- ↑ Pope, Tim (October 10, 2009). "Initial commit". GitHub.
- ↑ Boutillier, Cédric (March 4, 2014). "Debian Project News - March 3rd, 2014 [LWN.net]". LWN.net. Retrieved February 9, 2017.
352 packages were added to the unstable Debian archive recently. Among many others are: [...] vim-fugitive — Vim plugin to work with Git
- ↑ Ibanez, Luis (May 29, 2011). "Fugitive – a Git plugin for Vim". The Kitware Blog. Retrieved February 9, 2017.
- ↑ "'vim-fugitive' tag wiki". Stack Overflow. Retrieved February 9, 2017.
- ↑ "Package Search Results for 'vim-'".
- ↑ "Fedora Package Database". Archived from the original on February 26, 2017. Retrieved February 9, 2017.
- ↑ "Arch Linux - vim-fugitive 2.2-1 (any)". January 26, 2015. Retrieved February 9, 2017.
- ↑ Francia, Steve. "spf13-vim - The Ultimate Vim Distribution". Retrieved February 8, 2017.
- ↑ "Janus: Vim Distribution". GitHub. Retrieved February 8, 2017.
- ↑ Neil, Drew (May 18, 2011). "The Fugitive Series - a retrospective". Retrieved February 9, 2017.
- ↑ "fugitive.vim". GitHub. Retrieved February 8, 2017.
- ↑ "GitHub Search for "stars:>1000", Vim script, sorted by most stars". GitHub. Retrieved February 9, 2017.