On 22/11/11 04:23, pansz wrote:
2011/11/22 Tony Mechelynck<[email protected]>:
- for X11 (compiled with +xim)
        :help mbyte-XIM
- for all versions (compiled with either of the above)
        :help 'imactivatekey'
        :help 'imcmdline'
        :help 'imdisable'
        :help 'iminsert'
        :help 'imsearch'


Does this work for console vim (with +xim present)? I've tried
'imdisable' and it does not seem to work.


The problem with the console is that it intercepts what you type and then passes it to the application (Vim), possibly after some translation, or maybe doesn't pass it at all. This additional layer between the keyboard and the editor means that the _terminal_ may be trying to interact with the XIM and pass the "cooked" keystrokes to Vim.

For such complex keyboard interaction, I recommend gvim, because it has much better control over keyboard input, and also over output since you can set any suitable font by means of 'guifont' without even leaving Vim. With gvim, there is no ambiguity: the application with which the XIM interacts can only be Vim, there is no terminal which the XIM could see as its "opposite number", to which it would be "talking".


Best regards,
Tony.
--
"I have made mistakes but I have never made the mistake of claiming
that I have never made one."
                -- James Gordon Bennett

--
You received this message from the "vim_use" 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

Reply via email to