请输入您要查询的百科知识:

 

词条 Fugitive.vim
释义

  1. Name

  2. History

  3. Features

  4. Reception

  5. See also

  6. References

{{notability|1=Products|date=August 2017}}{{lowercase title}}{{Infobox software
|name = fugitive.vim
|logo =
|screenshot = Using_fugitive.vim.png
|caption = An example of using fugitive.vim's :Gblame feature
|author = Tim Pope
|developer = Tim Pope et al.
|released = {{Start date and age|2010|02|15|df=yes}}[1]
|latest release version = 2.2 / {{Start date and age|2015|01|20|df=yes}}[1]
|programming language = Vim script
|operating system = Unix, Linux, Windows NT, macOS, iOS, Android, AmigaOS
|language = English
|genre = {{unbulleted list|Git wrapper|Text editor plugin}}
|license = Free software (Vim License), charityware
|repo = {{URL|https://github.com/tpope/vim-fugitive}}
}}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|2017|02}}, 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

  • Magit, a Git wrapper for GNU Emacs

References

1. ^{{cite web |url=http://www.vim.org/scripts/script.php?script_id=2975 |title=fugitive.vim : A Git wrapper so awesome, it should be illegal |accessdate=February 8, 2017}}
2. ^{{cite book |title=Practical Vim |first=Drew |last=Neil |page=273 |year=2015 |isbn=978-1-68050-127-8 |publisher=The Pragmatic Programmers |edition=2nd}}
3. ^{{cite book |url=https://books.google.com/?id=_1cnCgAAQBAJ&pg=PR27&dq=fugitive.vim#v=onepage&q=fugitive.vim&f=false |title=Pro Vim |first=Mark |last=McDonnell |publisher=Apress |year=2014|isbn=9781484202500 }}
4. ^{{cite book |url=https://books.google.com/?id=jGInCgAAQBAJ&pg=PR15&dq=fugitive.vim#v=onepage&q=fugitive.vim&f=false |first=Mark |last=McDonnell |title=tmux Taster |publisher=Apress |year=2014|isbn=9781484207758 }}
5. ^{{cite web |url=https://realpython.com/blog/python/vim-and-python-a-match-made-in-heaven/ |title=VIM and Python - a match made in heaven|publisher=Real Python |accessdate=February 9, 2017 |date=October 27, 2015}}
6. ^{{cite web |url=https://github.com/tpope/vim-rhubarb |title=rhubarb.vim |accessdate=February 9, 2016}}
7. ^{{cite web |url=https://github.com/tpope/vim-fugitive/commit/1eb949be95b588dc45777814142edce93da6415e |title=Initial commit |first=Tim |last=Pope |date=October 10, 2009}}
8. ^{{cite web |url=https://lwn.net/Articles/589142/ |title=Debian Project News - March 3rd, 2014 [LWN.net] |publisher=LWN.net |first=Cédric |last=Boutillier |date=March 4, 2014 |accessdate=February 9, 2017 |quote=352 packages were added to the unstable Debian archive recently. Among many others are: […] vim-fugitive — Vim plugin to work with Git}}
9. ^{{cite web |url=https://blog.kitware.com/fugitive-a-git-plugin-for-vim/ |title=Fugitive – a Git plugin for Vim |date=May 29, 2011 |publisher=The Kitware Blog |accessdate=February 9, 2017 |first=Luis |last=Ibanez}}
10. ^{{cite web |url=https://stackoverflow.com/tags/vim-fugitive/info |title='vim-fugitive' tag wiki |accessdate=February 9, 2017 |publisher=Stack Overflow}}
11. ^{{cite web |url=http://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=vim-&searchon=names |title=Package Search Results for 'vim-'}}
12. ^{{cite web |url=https://admin.fedoraproject.org/pkgdb/packages/vim%2A/ |title=Fedora Package Database |accessdate=February 9, 2017}}
13. ^{{cite web |url=https://www.archlinux.org/packages/community/any/vim-fugitive/ |title=Arch Linux - vim-fugitive 2.2-1 (any) |accessdate=February 9, 2017 |date=January 26, 2015}}
14. ^{{cite web |url=http://vim.spf13.com/ |first=Steve |last=Francia |title=spf13-vim - The Ultimate Vim Distribution |accessdate=February 8, 2017}}
15. ^{{cite web|url=https://github.com/carlhuda/janus |accessdate=February 8, 2017 |title=Janus: Vim Distribution}}
16. ^{{cite web |url=http://vimcasts.org/blog/2011/05/the-fugitive-series/ |title=The Fugitive Series - a retrospective |accessdate=February 9, 2017 |first=Drew |last=Neil |date=May 18, 2011}}
17. ^{{cite web |url=https://github.com/tpope/vim-fugitive |title=fugitive.vim |accessdate=February 8, 2017}}
18. ^{{cite web |url=https://github.com/search?l=Vim+script&o=desc&q=stars%3A%3E1000&s=stars&type=Repositories&utf8=%E2%9C%93 |title=GitHub Search for "stars:>1000", Vim script, sorted by most stars |accessdate=February 9, 2017}}

2 : Git (software)|Vi

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/20 5:57:45