fugitive.vim
An example of using fugitive.vim's :Gblame feature | |
Original author(s) | Tim Pope |
---|---|
Developer(s) | Tim Pope et al. |
Initial release | 15 February 2010[1] |
Stable release |
2.2 / 20 January 2015[1]
|
Repository |
github |
Written in | Vim script |
Operating system | Unix, Linux, Windows NT, macOS, iOS, Android, AmigaOS |
Available in | English |
Type |
|
License | Free software (Vim License), charityware |
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 maintains the plugin.[2][3][4][5]
Name
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]
"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
The initial commit to the Git repository of the project was made on October 10, 2009.[7]
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.[8]
Features
The plugin provides standard Git commands from inside Vim, such as :Gstatus
for git status
.[9]
It also allows an interactive vertical split for git blame
.[10]
Reception
fugitive.vim is one of around 30 Vim plugins to have its own package in the Ubuntu package repository.[11] It is also one of 16 Vim plugins in the official Fedora package repository.[12] The plugin is also available from the Arch Linux packages repository.[13]
The plugin is part of Vim distributions including spf13[14] and Janus.[15]
Drew Neil of Vimcasts covered fugitive.vim favorably in a multi-part series.[16]
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, the plugin's repository on GitHub has nearly 8,000 stars,[17] and is the eighth most popular Vim script GitHub repository by number of stars.[18]
See also
References
- 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.
- ↑ McDonnell, Mark (2014). tmux Taster. Apress.
- ↑ "VIM and Python - a match made in heaven". Real Python. October 27, 2015. Retrieved February 9, 2017.
- ↑ "rhubarb.vim". Retrieved February 9, 2016.
- ↑ Pope, Tim (October 10, 2009). "Initial commit".
- ↑ 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". 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". Retrieved February 8, 2017.
- ↑ Neil, Drew (May 18, 2011). "The Fugitive Series - a retrospective". Retrieved February 9, 2017.
- ↑ "fugitive.vim". Retrieved February 8, 2017.
- ↑ "GitHub Search for "stars:>1000", Vim script, sorted by most stars". Retrieved February 9, 2017.