2015-10-02 1:47 GMT+08:00 mattn <[email protected]>:
> On Friday, October 2, 2015 at 12:37:59 AM UTC+9, StarWing wrote:
>> Hello,
>>
>> I have meet a issue on Windows 10. (maybe has same issue on Window 8.1+).
>>
>> In these system, I have set IME to Chinese input by default, because
>> the America Keyboard input method can not set into Chinese language.
>>
>> So everytime I open Vim, I should press Win+Space to disable IME to
>> use Vim. I have found a option 'imdisable', but even I set this, when
>> start Vim, the first time the IME is still remaining open.
>>
>> Now the scene is. open gVim, it's in normal mode, but IME is open,
>> press i<CR> to input a i in IME mode, press <ESC>, it return to normal
>> mode, and IME is closed.
>>
>> I think it should have a patch that after startup, check the IME
>> status, and if it's open, close it, because after the startup Vim stay
>> in normal mode.
>
> FYI, You can do it with put below into your vimrc.
>
> set iminsert=0
> set imsearch=0
>
> And if you want to start insert with non-active mode for IME always:
>
> map <silent> <ESC> <ESC>:set iminsert=0<CR>
>
> However, I wonder how many users want to start insert with active-mode for 
> IME.
> At least, japanese doesn't. Most japanese users has this configuration in 
> them vimrc.
>
> Anyone know which users want this behavior? If not, I want to change this 
> behavior as to start insert with non-active mode for IME.
>

Sorry for my bad English, but I mean, the IME is *open* when Vim is in
*normal mode*!!

that means, if I want in insert mode, or delete a word, or do any
normal mode command, I should do it after IME, I think this is clearly
a bug.

1. start Vim
2. you are in normal mode with IME *open*.
3. try go to another mode and return to normal mode.
4. IME is closed as expected.

I think we need a patch to close IME on the first normal mode.


-- 
regards,
Xavier Wang.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui