Hey Bjorn, Thank you - this mostly did the trick. The only thing I could ask for in addition would be the ability to somehow completely disable the IME while I'm in normal mode (so I COULD not activate it during normal mode), as if I do it by mistake (as I sometimes do), it serves no purpose other than to royally screw up my actions (including doing something really strange command buffering by where it will cause my next insert-mode command to go haywire even after I've switch back).
So I'd love it if I could either just disable the IME or cause vim to only read the key code directly and ignore the system-supplied unicode string. - Tyson On Sat, Mar 13, 2010 at 3:48 AM, björn <[email protected]> wrote: > On 12 March 2010 14:58, Tyson Roberts wrote: > > > > Okay, I've been suffering with this for some time, but I've been > wondering > > if there's a better solution out there. One of the things that > constantly > > messes me up is when I try to compose Japanese in vim is that, > eventually, I > > accidentally input characters into normal mode. This has a random > effects, > > but among them are commonly data-destroying effects that include > overwriting > > the undo stack. > > > > gvim on windows has a feature for only allowing IME input in input mode, > > along with the ability to remember which IME was last used during input > > mode, which made everything streamlined. This remains the only thing I > like > > about that version over MacVim. > > > > Is there anything already implemented or not that could solve this > problem? > > I add the line > > set noimd imi=0 ims=0 > > to my ~/.gvimrc and the first time I enter insert mode switch to the > non-english layout I'm using (e.g. Swedish). When insert mode is > exited MacVim automatically switches back to US English (and when I go > back to insert mode it switches back to Swedish again). Note that I > have US English and Swedish layouts enabled in the "Language & Text" > System Preferences. > > With Kotoeri you should be able to just enable Romaji and it should > switch back to that when you go back to normal mode. > > You'll need a fairly recent snapshot as well (just get 52...it has > this automatic switching feature). > > Let me know if that's not what you're looking for or if it doesn't > work satisfactorily. > > Björn > > -- > You received this message from the "vim_mac" 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 from the "vim_mac" 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
