vim-ring


Ⅰ. 插件描述

Quickly jump to related files in your Rails project.

Ⅱ. 基本信息

创建日期:  2017-04-25
使用用户:  0
Github星:  0
插件作者:  Andrew Vos

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# ring.vim

Quickly jump to related files in your Rails project.

:Ring <tab> on file app/models/thing.rb will autocomplete:

spec/models/thing_spec.rb
app/controllers/things_controller.rb
app/views/things/index.html.erb

Press enter to :edit the file.

Hit ]r and [r to jump to the next and previous related files respectively.

添加新评论