Ⅰ. 插件描述
A vim script to provide a ropevim omnicomplete function.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'rygwdn/rope-omni'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'rygwdn/rope-omni'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'rygwdn/rope-omni'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/rygwdn/rope-omni
Ⅳ. 文档说明
Ropevim Omnicompleter
An omni-completer for python using rope and ropevim. Designed to work
nicely with supertab.
This code uses a lot of internal functions, etc. from rope and ropemode so
it is likely to break. You have been warned.
Created by Ryan Wooden (rygwdn at gmail dot com)
This plugin requires ropevim_. You can install it with pip install ropevim
or easy_install ropevim.
.. _ropevim: http://rope.sourceforge.net/ropevim.html
Installation
This plugin should be easily installed with pathogen or similar. If you're
not using something like that, just place the files in the appropriate
directory in your ~/.vim directory.
Once installed, you can enable it by putting something like this in your .vimrc::
autocmd FileType python setlocal omnifunc=RopeCompleteFunc