Ⅰ. 插件描述
Vim plugin to allow vim to enable/disable input methods.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'hsanson/vim-im'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'hsanson/vim-im'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'hsanson/vim-im'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/hsanson/vim-im
Ⅳ. 文档说明
# What is this?
Simple plugin that allows vim to enable/disable the IBus input method when entering and leaving insert mode. This is useful for non English speaking users that use other input methods to write documents in vim.
Requirements
This plugin works only with fcitx input method and depends on the fcitx-remote command line to do the heavy lifting. You must ensure you have at least two input methods configured to allow fcitx-remote to enable/disable the input method by switching between them.
Installation
Add the plugin to your vim using either Vundle or Pathogen:
Bundle 'hsanson/vim-im'Details
Refer to the doc/vim-im.txt file for details on usage and installation of this plugin.