Hi, list,

when I type Chinese text in vim, I find it's unconvenient for completing
Chinese word with C-p/n, because a Chinese word is not seperated by space but
some charactors like "and", "or" and others(I use English to reprent a Chinese
charactor), so a Chinese sententce will like this:

    ThisIsAChineseWordInSentence.(This is a Chinese word in sentence.)

When I have typed "ThisIsAChineseWordIn", now if I want to type Sen<C-p> then
vim can't complete word "Sentence" for me. So I think if iskeyword supports
adding Chinese charactor to itself, for example(My client doesn't support
Chinese, so I use "and" to represent a Chinese charactor):

    set iskeyword+="and"

then autocompletion will be without problem with Chinese. I don't know if it
is easy to handle?

-- 
Regards,
anhnmncb


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to