rails.vim


Ⅰ. 插件描述

rails.vim: Ruby on Rails power tools

Ⅱ. 基本信息

创建日期:  2010-02-14
使用用户:  53
Github星:  2
插件作者:  Roman V. Babenko

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'romanvbabenko/rails-vim-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'romanvbabenko/rails-vim-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'romanvbabenko/rails-vim-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

= Rails.vim

http://rails.vim.tpope.net/

Basic support:

== Usage

  • Rloop - search loops definitions at app/loops
  • Ruploader - search loops definitions at app/uploader
  • Rcell - search cell definitions at app/cells
  • Rfactory - search factory definitions at spec/factories
  • Rjob - search factory definitions at app/jobs

Rspec - without params jump to relative spec definition

== Features

=== Support fixture replacements

== Installation

To install, simply copy autoload/rails.vim, plugin/rails.vim, and
doc/rails.txt to the appropriate directories in ~/.vim. Alternatively,
rake install may be used.

See doc/rails.txt for documentation.

Copyright Tim Pope. This plugin is licensed under the same terms as Vim

  1. No warranties, expressed or implied.

添加新评论