fcitx-remote OS X
fcitx-remote
fcitx-remote is a tool for control fcitx state via console. Users in Linux use it for interaction with their vim or emacs to avoid being interrupted by input method.
Plugins
-
Vim: fcitx.vim - keep and restore fcitx state when leaving/re-entering insert mode: vim online The new version of this plugin uses socket to communicate fcitx which is not emulated by current version of fcitx-remote-osx, so you have to use the backported version under the directory so/fcitx.vim of lilydjwg/fcitx.vim.
Also available as a stand repo at CodeFalling/fcitx-vim-osx
-
Emacs: cute-jumper/fcitx.el . Due to the limits of the Wubi Xing input source, you may not use Emacs with it.
How this works
fcitx-remote for OS X dosen't rely on fcitx at all. It is just a small program which responds to fcitx.el etc. just like it's really a fcitx-remote in GNU/Linux.
You can choose your Chinese input method and English layout(or others) in compilation.
Install
brew install fcitx-remote-for-osx --with-input-method=<method>
System Settings for methods other than general
None.
System Settings for GENERAL method only
Set your shortcut for Select next source in input menu
to Ctrl-Shift-z
.
And set your English input method to US
(美式英语)
Enjoy!