Ⅰ. 插件描述
Plugin used for text transliterationⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/translit3'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/translit3'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/translit3'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/translit3
Ⅳ. 文档说明
This plugin provides the ability to transform one sequence of symbols into
- The typical use case is transliteration of latin symbols into russian
- for systems without russian keyboard.
Features:
- transliteration of text, provided as function argument;
- transliteration of a selection or a line range;
- input transliteration;
- setting up the input transliteration in current buffer or in all opened
buffers;
- plugin system for transliteration function;
- plugin system for input transliteration;
- loading transliteration table from a file, a variable, a dictionary or
a function;
- displaying the transliteration table on the screen.
Plugin requires some additional plugins:
- frawor (https://bitbucket.org/ZyX_I/frawor)
- jsonvim (http://bitbucket.org/ZyX_I/jsonvim)
(with their dependencies).
Project page: https://bitbucket.org/ZyX_I/translit3
Documentation: http://vimcommunity.bitbucket.org/doc/translit3.txt.html
Russian documentation: http://vimcommunity.bitbucket.org/doc/translit3.rux.html