On Mon, Nov 21, 2011 at 6:37 PM, jason.桂林 <[email protected]> wrote: > I normally input code in vim, it's all ascii chars, but sometime I need type > chinese, for document and comment. > The input method is chinese at insert mode, and I press <esc>, and then I > type some vim command, but this command can't be execute unless I switch > input method back to english. > I will never use chinese input method at normal mode, and visual mode. so > can I disable input method at these mode? > If I can't, I think it's a big problem.
The easiest way is to use US English, and use the 'keymap' setting in Vim. When you use keymap, Vim will type the Chinese characters in insert mode but the switch back to English in the other modes. -- Albin Olsson, IT Consultant and Classic Connoisseur www.albinolsson.se | [email protected] +46 707 831 830 -- 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
