Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xcodebuild/fcitx-remote-for-osx
A simulate fcitx-remote to handle osx input method in command line
https://github.com/xcodebuild/fcitx-remote-for-osx
Last synced: about 21 hours ago
JSON representation
A simulate fcitx-remote to handle osx input method in command line
- Host: GitHub
- URL: https://github.com/xcodebuild/fcitx-remote-for-osx
- Owner: xcodebuild
- License: gpl-3.0
- Created: 2015-11-02T05:50:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-16T14:12:50.000Z (over 1 year ago)
- Last Synced: 2024-04-24T11:13:38.939Z (9 months ago)
- Language: Objective-C
- Homepage:
- Size: 81.1 KB
- Stars: 195
- Watchers: 6
- Forks: 25
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
fcitx-remote for OS X
=================## fcitx-remote
`fcitx-remote` is a tool to 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](http://www.vim.org/scripts/script.php?script_id=3764)
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](https://github.com/lilydjwg/fcitx.vim/blob/master/so/fcitx.vim) of [lilydjwg/fcitx.vim](https://github.com/lilydjwg/fcitx.vim).
Also available as a stand repo at [CodeFalling/fcitx-vim-osx](https://github.com/CodeFalling/fcitx-vim-osx)
- Emacs:
[cute-jumper/fcitx.el](https://github.com/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 that 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.## Settings
There are two modes:
1. GENERAL mode: use keystroke `Ctrl-Shift-Z` to switch input method, see instructions below.
2. SPECIFIC mode: switch to specific input method by name. Builtin support is included for:
1. Baidu Pinyin
2. Baidu Wubi
3. Log Input
4. Log Input 2
5. OS X Pinyin
6. OS X Shuangpin
7. OS X Wubi
8. Qingg
9. QQ Wubi
10. Sogou Pinyin
11. Squirrel Rime(old verison)
12. Squirrel Rime(before 0.16.0)
13. Squirrel Rime(Hans, since 0.16.0)
14. Squirrel Rime(Hant, since 0.16.0)## Installation
```bash
git clone https://github.com/xcodebuild/fcitx-remote-for-osx.git
cd fcitx-remote-for-osx
# use US (美式英语)
./build.py build all us
# or use ABC
#./build.py build all abc
# general method
cp ./fcitx-remote-general /usr/local/bin/fcitx-remote
# squirrel for example
cp ./fcitx-remote-squirrel-rime-hans /usr/local/bin/fcitx-remote
```## Installation via homebrew (obsolete)
```bash
brew install fcitx-remote-for-osx
```## 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`.
![preview](https://cloud.githubusercontent.com/assets/5436704/15090907/60f3cc0a-146a-11e6-9f32-8128d1e2a339.png)
And set your English input method to `US`(美式英语)
![preview](https://cloud.githubusercontent.com/assets/5436704/13461653/d1404578-e0bd-11e5-8326-f7ca07558964.png)
Enjoy!