Ⅰ. 插件描述
Pathogen compatable ropevim plugin. Dont need install rope libs in system.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'klen/rope-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'klen/rope-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'klen/rope-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/klen/rope-vim
Ⅳ. 文档说明
Ropevim, rope in vim
Use https://github.com/klen/python-mode. It`s more new and powerful plugin.
Ropevim is a vim mode that allows you to use the rope_ library in vim to provide
features like python refactorings and code-assists.
This vim plugin allow you use the rope library in vim very easily.
There is no need to install the rope_ library on your system.
This plugin also adds vim help for rope_ commands.
Installation
Just copy the plugin folders into your ~/.vim directory.
Alternatively, if you are using pathogen_, clone the plugin into your bundle
folder.
Settings
By default, rope_ auto assist is mapped to Control+Space. You can remap it. For
example: ::
imap <buffer><Tab> <M-/>
.. _rope: http://rope.sourceforge.net/
.. _pathogen: https://github.com/tpope/vim-pathogen