rake.vim


Ⅰ. 插件描述

rake.vim: it's like rails.vim without the rails

Ⅱ. 基本信息

创建日期:  2010-08-04
使用用户:  1304
Github星:  216
插件作者:  Tim Pope

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# rake.vim

Rake.vim is a plugin leveraging [projectionist.vim][] to enable you to use all
those parts of [rails.vim][] that you wish you could use on your other Ruby
projects, including :A, :Elib and friends, and of course :Rake. It's
great when paired with gem open and bundle open and
complemented nicely by [bundler.vim][].

Installation

If you don't have a preferred installation method, I recommend
installing pathogen.vim, and
then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/tpope/vim-rake.git
git clone git://github.com/tpope/vim-projectionist.git

Once help tags have been generated, you can view the manual with
:help rake.

FAQ

I installed the plugin and started Vim. Why don't any of the commands
exist?

This plugin cares about the current file, not the current working

  1. Edit a file from a Ruby library.

I opened a new tab. Why don't any of the commands exist?

This plugin cares about the current file, not the current working

  1. Edit a file from a Ruby library. You can use the :T
  2. of commands to open a new tab and edit a file at the same time.

Self-Promotion

Like rake.vim? Follow the repository on
GitHub and vote for it on
vim.org. And if
you're feeling especially charitable, follow tpope on
Twitter and
GitHub.

License

Copyright (c) Tim Pope. Distributed under the same terms as Vim itself.
See :help license.

添加新评论