The topic of this article may not meet Misplaced Pages's notability guidelines for products and services. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted. Find sources: "Fugitive.vim" – news · newspapers · books · scholar · JSTOR (August 2017) (Learn how and when to remove this message) |
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; 14 years ago (2010-02-15) |
Stable release | 3.7 / 7 June 2022; 2 years ago (2022-06-07) |
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.
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.
"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.
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.
Features
The plugin provides standard Git commands from inside Vim, such as :Gstatus
for git status
.
It also allows an interactive vertical split for git blame
.
Reception
fugitive.vim is one of around 30 Vim plugins to have its own package in the Ubuntu package repository. It is also one of 16 Vim plugins in the official Fedora package repository. The plugin is also available from the Arch Linux packages repository.
The plugin is part of Vim distributions including spf13 and Janus.
Drew Neil of Vimcasts covered fugitive.vim favorably in a multi-part series.
The scripts page for fugitive.vim on the Vim website shows that the plugin has been downloaded almost 13,000 times. As of February 2017, the plugin's repository on GitHub has nearly 8,000 stars, and is the eighth most popular Vim script GitHub repository by number of stars.
See also
- Magit, a Git wrapper for GNU Emacs
References
- ^ "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.
- 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.