vim-racer


Ⅰ. 插件描述

rust code completion in vim via racer (https://github.com/phildawes/racer)

Ⅱ. 基本信息

创建日期:  2014-05-19
使用用户:  10
Github星:  10
插件作者:  Michael Gehring

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ebfe/vim-racer'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ebfe/vim-racer'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ebfe/vim-racer'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/ebfe/vim-racer

Ⅳ. 文档说明

vim-racer

Rust code completion in vim via racer

Installation

When using vim-pathogen simply clone
this repository to ~/vim/bundle

git clone https://github.com/ebfe/vim-racer ~/.vim/bundle

Otherwise copy autoload and ftplugin to ~/.vim.

Setup

information.

Usage

  • CTRL-X CTRL-O in insert mode triggers code completion.
  • gd Jumps to the definition of the symbol under the cursor.

添加新评论