-
-
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
Add support to Chinese characters for PinYin initials #455
base: master
Are you sure you want to change the base?
Conversation
|
|
不知道是否可以支持五笔、郑码,甚至自定义码表(7000常用汉字即可)? |
修改 |
我下载了你的easymotion,出现了Chinese.vim文件,我发现“w”对应的有“我”,但却无正常使用。比如说在txt文件中搜索“我”,我按
|
@draftman9 |
现在我可以检索中文了,但同时,我却无法检索英文字母了,更别提中英混检了。我配置中的 |
没有关系啊。要不你手动在Chinese.vim里 |
这的确是一个办法。 |
@draftman9 我是在 let s:chinese_dict[nr2char(idx)] = '['.nr2char(idx).nr2char(idx-32).']' 把英文字母添加到这个字典里的,你可以从这里看修改。你看看你下载下来的里面有相应的修改吗? |
I spent some time solving this problem
The file encoding should be utf-8
let g:EasyMotion_use_migemo = 1
nmap <Leader>f <Plug>(easymotion-s)
It Use PinYin initials positioning Support for Chinese polyphonic characters Can mix Chinese and English recognition, including uppercase and lowercase English Can recognize Chinese punctuation More than 6000 commonly used simplified Chinese characters Question: Only a single character can be recognized, If you need to customize your own code table, just modify utf8.vim |
I added the support for Chinese PinYin initials, and hope to help others.