I disabled the "Draw marked text inline" option in Advanced Preferences,and 
added "set noimdisable" to vimrc,it can automatically switch to english when I 
return to normal mode.But there is still a problem: it doesn't remember the 
state of input method in insert mode,so when I change to insert mode the IME 
state is still English.But it's a lot better than before.

Thanks,Ben.

-- 
Jamie Xie
Sent with Sparrow
On Saturday, April 30, 2011 at 2:50 PM, Ben Schmidt wrote: 
> Maybe try jiggling the settings in Advanced Preferences (go to the 
> application 
> menu, and choose preferences, and then go to the advanced tab). One or two of 
> those have to do with input methods.
> 
> Ben.
> 
> 
> 
> On 30/04/11 2:59 PM, Jamie Xie wrote:
> > Ben,Thanks for your reply.
> > 
> > If I set noimdisable,the input method in insert mode is broken,can't input
> > correctly.Wish Macvim to fix this problem.
> > 
> > --
> > Jamie Xie
> > Sent with Sparrow <http://www.sparrowmailapp.com>
> > 
> > On Wednesday, April 27, 2011 at 9:43 AM, Ben Schmidt wrote:
> > 
> > > 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