Jump to content

fugitive.vim

From Wikipedia, the free encyclopedia
fugitive.vim
Original author(s)Tim Pope
Developer(s)Tim Pope et al.
Initial release15 February 2010; 14 years ago (2010-02-15)[1]
Stable release
3.7 / 7 June 2022; 2 years ago (2022-06-07)[1]
Repositorygithub.com/tpope/vim-fugitive
Written inVim script
Operating systemUnix, Linux, Windows NT, macOS, iOS, Android, AmigaOS
Available inEnglish
Type
  • Git wrapper
  • Text editor plugin
LicenseFree 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 [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]

"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.[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

[edit]

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

[edit]

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

[edit]
  • Magit, a Git wrapper for GNU Emacs

References

[edit]
  1. ^ a b c "fugitive.vim : A Git wrapper so awesome, it should be illegal". Retrieved February 8, 2017.
  2. ^ Neil, Drew (2015). Practical Vim (2nd ed.). The Pragmatic Programmers. p. 273. ISBN 978-1-68050-127-8.
  3. ^ McDonnell, Mark (2014). Pro Vim. Apress. ISBN 9781484202500.
  4. ^ McDonnell, Mark (2014). tmux Taster. Apress. ISBN 9781484207758.
  5. ^ "VIM and Python - a match made in heaven". Real Python. October 27, 2015. Retrieved February 9, 2017.
  6. ^ "rhubarb.vim". GitHub. Retrieved February 9, 2016.
  7. ^ Pope, Tim (October 10, 2009). "Initial commit". GitHub.
  8. ^ 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
  9. ^ Ibanez, Luis (May 29, 2011). "Fugitive – a Git plugin for Vim". The Kitware Blog. Retrieved February 9, 2017.
  10. ^ "'vim-fugitive' tag wiki". Stack Overflow. Retrieved February 9, 2017.
  11. ^ "Package Search Results for 'vim-'".
  12. ^ "Fedora Package Database". Archived from the original on February 26, 2017. Retrieved February 9, 2017.
  13. ^ "Arch Linux - vim-fugitive 2.2-1 (any)". January 26, 2015. Retrieved February 9, 2017.
  14. ^ Francia, Steve. "spf13-vim - The Ultimate Vim Distribution". Retrieved February 8, 2017.
  15. ^ "Janus: Vim Distribution". GitHub. Retrieved February 8, 2017.
  16. ^ Neil, Drew (May 18, 2011). "The Fugitive Series - a retrospective". Retrieved February 9, 2017.
  17. ^ "fugitive.vim". GitHub. Retrieved February 8, 2017.
  18. ^ "GitHub Search for "stars:>1000", Vim script, sorted by most stars". GitHub. Retrieved February 9, 2017.