-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could you add chinese support? #145
Comments
@jjwt , hi For Chinese, things like what you mentioned have already been done, for example, check out vimim. Perhaps, implementing it in easymotion may be a kind of reinventing the wheel. And even if no other plugin have done it yet, I still don't think easymotion should do it. In my opinion, the feature you mentioned is more related to a language plugin not a motion plugin like easymotion. Perhaps, it's much better if easymotion can provide a way to let the user-defined vimscript function overwrite the function that returns the list of matched positions. But it's just a opinion of mine |
@yuex hi
|
Yeah, I agree. Maybe this issue is related with #135. It's not difficult to implement, but there are some problems I should consider more, so please wait a little. As for chinese migemo, I don't know a nice dictionary which convert alphabet to chinese. Actually, I didn't make EasyMotion's Japanese dictionary, it's just generated from the external If you want EasyMotion to integrate with chinese, please let me know the conversion tool from alphabet to chinese. |
hi, @haya14busa There are many Chinese input methods for computers, most of which Every single chinese can be expressed several characters, ex: as i say above, there are many different input methods, and from here different methods need different characters-words map dictionary,
hope it helps, and the method can also do for japanese. |
hi, @haya14busa
the above may be too tedious, in short,for xp:
|
@jjwt IMO, although different input methods exist (there are even input methods convert English words to Chinese), the equivalent of Romaji for Japanese (as used by cmigemo) is Pinyin. |
@haya14busa There are a lot dictionaries. For example, this one contains both Traditional (zh_TW) and Simplified (zh_CN) Chinese characters. |
Thanks @weakish . |
I have converted it to:
These dictionaries are UTF-8 only. |
pull-requests are welcome but I don't have any plan to work on this now. |
Is there any update? The following plugin work fine independently: Plug 'ppwwyyxx/vim-PinyinSearch'. |
Thank you for the excellent plugin.
In the help, I find that:
I think,in the same way, chinese should also be supported.
Then after a few day's work, I replace the content of file
with here,(I don't know how to upload file here) and put below in my vimrc:
and it works!
However, replacing is not a good way, so could you add chinese support
based on this?
Things may be like this:
are used often in China)
let g:EasyMotion_use_migemo_chinese = 1
The text was updated successfully, but these errors were encountered: