On Tue, 06 Jan 2009 16:51:22 +0800, anhnmncb <[email protected]> wrote:

> A weird problem that I can't figure it out, ChineseIME just works
> when I start a new vim, and use it in [no name] buffer,
> then after I edit other files, <C-\> has no any effect, why?
> My .vimrc just has one line relative to ChineseIME:
>
>       let g:ChineseIME_Toggle_InertMode=1
>

I find the problem, the script use a local imap for <C-\> at line 237 of  
the script, you'd better to change it from:

     imap <buffer> <C-\>  <C-O>:call ChineseIME_Toggle_InertMode()<CR>

to:

     imap <C-\>  <C-O>:call ChineseIME_Toggle_InertMode()<CR>


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to