vim脚本管理器(使用病原体、git和python!)

vimpyre的Python项目详细描述


vimpyre,vim脚本管理器(使用病原体、git和python!)

操作:
初始化、安装、搜索、删除、卸载、更新、浏览、全部删除、全部卸载、全部更新、已安装列表

要求

  1. 吉特
  2. Python
  3. Python牌(http://pypi.python.org/pypi/plac
  4. python simplejson(http://pypi.python.org/pypi/simplejson
  5. 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版

  • 版本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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
无生物特征对话框的java Android生物特征认证   Java(Linux)和Windows系统之间的socket字符编码   java在Spring引导应用程序中使用JSF   java在没有类型转换的情况下访问父类型的arraylist中的特定子类型方法,子类型的创建只有在运行时才知道   java死锁线程检查   java Spring引导MySQL不批处理插入   java如何在Android文本视图中显示来自Firebase的消息列表?   Android API 24<与java一起崩溃。lang.NoClassDefFoundError:com。谷歌。常见的基础CharMatcher   如何在Java中修改JSON对象内的值   java解析JAR run命令中所需的参数   java从PRAGMA表_info()获取名称和类型   java如何删除字符串中的重复项,例如:“我的名字是这个和那个这个和那个”输出将是“我的名字是这个和那个”   java在自动连接DAOBean时自动连接类   集合的java通用返回类型   java在不覆盖现有点的情况下向对象添加点