Re: noimd don't works under linux

2006-11-06 Thread Benji Fisher
On Mon, Nov 06, 2006 at 07:28:35PM +0800, Eddy Zhao wrote: 2006/11/6, Benji Fisher [EMAIL PROTECTED]: [snip] Part of the problem is that you defined the :map commands with notation before setting 'nocp'. From another post on this thread, I see that you want to try this with gvim, not

Re: noimd don't works under linux

2006-11-06 Thread A.J.Mechelynck
Eddy Zhao wrote: [...] Though status line shows imd is being reset while change from nomal mode to insert mode, but IM is not enabled (in other words, scim input window is not popup when return back to insert mode). That's the problem I encountered. Anything else I can try to debug to nail down

Re: noimd don't works under linux

2006-11-05 Thread A.J.Mechelynck
Eddy Zhao wrote: [...] Hi Tony, I only using IM in gvim. So I only want IM work correctly in gvim. gvim is with +xim support. Thanks Eddy Well, I suppose that explains why you can't set 'imd' in Console Vim. Best regards, Tony.

Re: noimd don't works under linux

2006-11-05 Thread Eddy Zhao
I do the following - gvim -u NONE - :set stl=%{imd} ls=2 - :inoremap ESC ESC:set imdCR - :nnoremap i :set noimdCRi - :set nocp - switching back forth between normal mode insert mode using ESC i When I pressing i, the input focus is on command line command line shows :set noimdCRi. If

Re: noimd don't works under linux

2006-11-05 Thread Benji Fisher
On Sun, Nov 05, 2006 at 03:13:20PM +0800, Eddy Zhao wrote: [snip] Thanks (I forget to set ls). I do the following - gvim -u NONE - :set stl=%{imd} ls=2 - :inoremap ESC ESC:set imdCR - :nnoremap i :set noimdCRi - :set nocp - switching back forth between normal mode insert mode using ESC

Re: noimd don't works under linux

2006-11-04 Thread Eddy Zhao
I tried this on FC2: :set stl=%{imd} :inoremap ESC ESC:set imdCR :nnoremap i :set noimdCRi The first line (along with my usual :set laststatus=2) means that I can check my 'imd' setting in the status line. When I go between Normal and Insert modes with i and Esc, it changes from 1 to 0

Re: noimd don't works under linux

2006-11-04 Thread A.J.Mechelynck
Eddy Zhao wrote: I tried this on FC2: :set stl=%{imd} :inoremap ESC ESC:set imdCR :nnoremap i :set noimdCRi The first line (along with my usual :set laststatus=2) means that I can check my 'imd' setting in the status line. When I go between Normal and Insert modes with i and Esc, it

Re: noimd don't works under linux

2006-11-04 Thread Eddy Zhao
2006/11/5, A.J.Mechelynck [EMAIL PROTECTED]: Eddy Zhao wrote: I tried this on FC2: :set stl=%{imd} :inoremap ESC ESC:set imdCR :nnoremap i :set noimdCRi The first line (along with my usual :set laststatus=2) means that I can check my 'imd' setting in the status line. When I go

Re: noimd don't works under linux

2006-11-04 Thread Eddy Zhao
2006/11/5, A.J.Mechelynck [EMAIL PROTECTED]: Eddy Zhao wrote: 2006/11/5, A.J.Mechelynck [EMAIL PROTECTED]: Eddy Zhao wrote: I tried this on FC2: :set stl=%{imd} :inoremap ESC ESC:set imdCR :nnoremap i :set noimdCRi The first line (along with my usual :set laststatus=2)