[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim6 + IM



On Wed, Jul 09, 2003 at 12:48:27PM +0200, Mattia Dongili wrote:
> hi
> 
> I'm trying to use vim to input japanese inside a kterm. For what I read
> it seems to be possible, but I still haven't found how...
> I'm following the multibyte pages of vim :help and I have to say that
> using gvim to input japanese it's been quite simple:
> 
> LC_CTYPE=ja_JP gvim '+set encoding=euc-jp' '+set imak=S-space' '+set guifontset=-misc-mincho-medium-r-*-*-*-*-*-*-*-*-jisx0208.1983-*'
> 
> For the moment I'm using jvim but I'd like to get rid of colors and all
> the advanced features available in vim.
> 
> Well, first of all is it possible?

Yes.

> I can easily display japanese characters via the 
> vim '+set encoding=euc-jp' <FILE> command, but
> vim gives an error trying to set imak=S-space. Suspicious...
> 
> somewhere I read that I need to start kterm with the -xim option but
> this doesn't change the result.

If kterm works with jvim then it will probably work with vim too.

Try adding these Xresources

Vim*international: True
Vim*inputMethod: kinput2
Vim*preeditType: OnTheSpot

-- 
Horms



Reply to: