-
Notifications
You must be signed in to change notification settings - Fork 1
/
rime-im.txt
60 lines (43 loc) · 2.84 KB
/
rime-im.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
*rime-im.txt* Use Rime Input Method Engine in vim
==============================================================================
CONTENTS *rime-im*
1. Description |rime-im-description|
2. Usage |rime-im-usage|
2.1. Mappings |rime-im-mappings|
3. Configuration |rime-im-configuration|
==============================================================================
DESCRIPTION *rime-im-description*
vim-rime-im is a plugin which allows you to use RIME (http://rime.im/) in vim.
This plugin requires rime-cli (https://github.com/infmagic2047/rime-cli) for
interaction with RIME.
==============================================================================
USAGE *rime-im-usage*
By default, <C-Space> is used to toggle the input method for current buffer.
When the input method is enabled, typing any letter or symbol will start RIME
to input a phrase (see |g:rime_im_keys_to_map| for more details). Then all
characters are sent to RIME until finishing this phrase.
------------------------------------------------------------------------------
MAPPINGS *rime-im-mappings*
<Plug>(rime-im-enable) *<Plug>(rime-im-enable)*
Enable RIME for current buffer. Works in normal mode and insert mode.
<Plug>(rime-im-disable) *<Plug>(rime-im-disable)*
Disable RIME for current buffer. Works in normal mode and insert mode.
<Plug>(rime-im-toggle) *<Plug>(rime-im-toggle)*
Toggle RIME for current buffer. Works in normal mode and insert mode.
Default key binding: <C-Space>
==============================================================================
CONFIGURATION *rime-im-configuration*
rime-im can be configured with the following variables:
g:rime_im_create_default_mappings *g:rime_im_create_default_mappings*
If non-zero, default mappings are created.
Default: 1
g:rime_im_keys_to_map *g:rime_im_keys_to_map*
A list of characters to be captured. Typing any of these characters in
insert mode starts RIME to input a phrase.
Default: all printable ASCII characters other than space, digits and
uppercase letters
g:rime_im_rime_cli_prog *g:rime_im_rime_cli_prog*
The rime-cli executable file.
Default: "rime-cli"
==============================================================================
vim: set filetype=help textwidth=78 expandtab norightleft: