knowledge-database (beta)

Current group: comp.editors

how to prevent xim to start with insert mode in gtk1 gvim

how to prevent xim to start with insert mode in gtk1 gvim  
case
 Re: how to prevent xim to start with insert mode in gtk1 gvim  
case
From:case
Subject:how to prevent xim to start with insert mode in gtk1 gvim
Date:Fri, 21 Jan 2005 14:38:28 +0100
I'm trying to switch from athena gvim to gtk1 version of gvim.
I use kinput2 for Japanese, but not all the time, but the
gtk1 version starts Japanse mode every time I select insert
mode. A gtk2 version on my system and athena wait for me to
start kinput2, which is what I want. How do I force gvim to
do that?

I tried using a *.preeditType: Root and OffTheSpot line in
..Xdefaults, but that has no effect at all.

Does anybody know about this?
C.
From:case
Subject:Re: how to prevent xim to start with insert mode in gtk1 gvim
Date:Sun, 23 Jan 2005 17:57:22 +0100
case wrote:
> I'm trying to switch from athena gvim to gtk1 version of gvim.
> I use kinput2 for Japanese, but not all the time, but the
> gtk1 version starts Japanse mode every time I select insert
> mode. A gtk2 version on my system and athena wait for me to
> start kinput2, which is what I want. How do I force gvim to
> do that?
>
> I tried using a *.preeditType: Root and OffTheSpot line in
> .Xdefaults, but that has no effect at all.
>
Update: it seems that in the gtk1 version of gvim kinput2
is treated as an extention of keymap or something. When I
use ctrl-^ (the default switch for keymap) that combination
starts to act as kinput2's shift-space activation key (in fact,
shift-space stops functioning after one time ctrl-^).
The ctrl_^ switch in gtk1 gvim does remember the last
language setting after returning from command mode to insert
mode, so my problem might be solved...

C.
   

Copyright © 2006 knowledge-database   -   All rights reserved