2006/10/1, Bram Moolenaar <[EMAIL PROTECTED]>:
Eddy Zhao wrote: > I'm use setting below to disable input method when enter normal mode > > inoremap <ESC> <ESC>:set imd<CR> > > The setting works under window, but under linux the setting don't > take effect. > > I'm using gvim 7.0, with xim support, under linux, desktop is ion3 . > ":verbose map! <Esc>" show: > <Esc> * <Esc>:set imd<CR> > > How could I fix that? (I've searched through the mailing list archive, > found a thread report the same problem, but without final conclusion) There must be something wrong with your build. When Vim leaves Insert mode, going back to Normal mode, it always disables the input method. Thus your mapping will not have an effect (well, side effects perhaps).
Hi Bram, I'm using FC5 vim package, and I just build vim from source, and the problem still there. Remove "inoremap <ESC> <ESC>:set imd<CR>" setting in vimrc also don't fix the problem. Thanks Eddy