vim脚本管理器(使用病原体、git和python!)
vimpyre的Python项目详细描述
vimpyre,vim脚本管理器(使用病原体、git和python!)
- 操作:
- 初始化、安装、搜索、删除、卸载、更新、浏览、全部删除、全部卸载、全部更新、已安装列表
要求
- 吉特
- Python
- Python牌(http://pypi.python.org/pypi/plac)
- python simplejson(http://pypi.python.org/pypi/simplejson)
- python请求(http://python-requests.org)
安装
使用git或pip。
使用git:
$ git clone git://github.com/pct/vimpyre.git $ cd vimpyre; sudo python setup.py install
使用pip:
# pip install vimpyre
用法
初始化(获取病原体.vim并创建~/.vim/vimpyre):
$ vimpyre init ( Please add 'execute pathogen#infect('bundle/{}', 'vimpyre/{}'' to your .vimrc manually.)
搜索(从本地存储库搜索vim脚本):
$ vimpyre search html5 $ vimpyre search othree/html5.vim
安装(git clone vim脚本到~/.vim/vimpyre):
$ vimpyre install othree/html5.vim $ vimpyre install vim-scripts/html5.vim $ vimpyre install git://github.com/vim-scripts/ragtag.vim.git $ vimpyre install git://github.com/vim-scripts/ragtag.vim $ vimpyre install https://github.com/vim-scripts/ragtag.vim.git $ vimpyre install https://github.com/vim-scripts/ragtag.vim
列出已安装(列出~/.vim/vimpyre目录):
$ vimpyre list_installed
更新(git pull):
$ vimpyre update html5.vim rails.vim
全部更新(git-pull-all存储库):
$ vimpyre update_all
删除(rm~/.vim/vimpyre/<;vim脚本>;):
$ vimpyre remove rails.vim html5.vim
全部删除(rm~/.vim/vimpyre*):
$ vimpyre remove_all (If you want to use vimpyre again, please `vimpyre init; vimpyre syncdb` first!)
浏览(在vim.org上打开脚本的主页):
$ vimpyre browse othree/html5.vim $ vimpyre browse https://github.com/othree/html5.vim
待办事项
请告诉我你想要什么功能。
许可证
http://www.opensource.org/licenses/bsd-license.php
BSD 2条款许可证(“简化BSD许可证”或“免费BSD许可证”):
Copyright (c) 2011, pct(Jin-Sih, Lin) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
更改日志
0.3.0版
- Python3
0.2.7版
- 修正:如果不是git目录,vimpyre list_installed output。
0.2.6版
- 修正:更新病原体,使用执行病原体感染('bundle/{}','vimpyre/{}'
0.2.5版
- 新增:将“最后”(更新时间)添加到搜索结果中
版本0.2.4
- 修复:vimpyre init,vimpyre搜索结果
0.2.3版
- 修复:切换到新的github api@http://developer.github.com/v3/search进行搜索
版本0.2.2
- FIX: vimpyre browse
0.2.1版
- FIX: setup.py requirements
0.2.0版
FIX: vimpyre search, just use github search without using github API
REMOVE: list_all, syncdb
NEW: you could install github scripts with:
$ vimpyre install othree/html5.vim $ vimpyre install vim-scripts/html5.vim $ vimpyre install git://github.com/vim-scripts/ragtag.vim.git $ vimpyre install git://github.com/vim-scripts/ragtag.vim $ vimpyre install https://github.com/vim-scripts/ragtag.vim.git $ vimpyre install https://github.com/vim-scripts/ragtag.vim
0.1.5版
- NEW: add vimpyre browse <script_name> to browse vim scripts page
- CHANGE: vimpyre code refactoring