On 26/04/11 10:56 PM, Jerry wrote:
There is an annoying problem when use macvim with chinese input
method,if I input some chinese characters in insert mode,then press
ESC to return to normal mode,then press hjkl to move around,the
candidate window of my input method will pop up,this is very annoying
since I always don't want to use the input method in normal mode.Why
can't macvim automatically close the IME whenever I return to normal
mode just as gVim in windows does.

I've searched a lot about this problem,but it seems there isn't a
solution to it,Macvim doesn't support imactivatekey.And I've tried set
noime in vimrc,this setting does close IME whenever I switch to normal
mode,but is also made IME in insert mode unavailable.Anyone has a
solution to this problem?

Try

:set noimdisable

(it seems I needed that) then explicitly set your input method (using the keyboard layout menu) for Normal mode (e.g. to US), then go into insert mode and change it (e.g. to Chinese), and from then on MacVim should automatically change it as you go in and out of insert mode.

I think!

Ben.


--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to