Ⅰ. 插件描述
Commands to quickly open alternate translations of a Rails locale fileⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'teddywing/vim-rails-locale-alternate'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'teddywing/vim-rails-locale-alternate'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'teddywing/vim-rails-locale-alternate'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/teddywing/vim-rails-locale-alternate
Ⅳ. 文档说明
vim-rails-locale-alternate
Makes it easier to open alternate Rails locale files. While editing a locale
file, you may want to reference the translations of another language. This
plugin provides commands to open a different language version of the current
locale file in a separate window.
Demo

License
Copyright © 2018 Teddy Wing. Licensed under the GNU GPLv3+ (see the included
COPYING file).