Uh oh!
There was an error while loading. Please reload this page.
Add support to Chinese characters for PinYin initials - #455
Conversation
|
TroyDanielFZ
commented
Jun 26, 2021
|
draftman9
commented
Feb 22, 2022
不知道是否可以支持五笔、郑码,甚至自定义码表(7000常用汉字即可)? |
TroyDanielFZ
commented
Feb 23, 2022
修改 |
我下载了你的easymotion,出现了Chinese.vim文件,我发现“w”对应的有“我”,但却无正常使用。比如说在txt文件中搜索“我”,我按 |
TroyDanielFZ
commented
Feb 26, 2022
@draftman9 |
draftman9
commented
Feb 26, 2022
现在我可以检索中文了,但同时,我却无法检索英文字母了,更别提中英混检了。我配置中的 |
TroyDanielFZ
commented
Feb 28, 2022
没有关系啊。要不你手动在Chinese.vim里 |
draftman9
commented
Mar 1, 2022
这的确是一个办法。 |
TroyDanielFZ
commented
Mar 2, 2022
@draftman9 我是在 lets:chinese_dict[nr2char(idx)] ='['.nr2char(idx).nr2char(idx-32).']'把英文字母添加到这个字典里的,你可以从这里看修改。你看看你下载下来的里面有相应的修改吗? |
I spent some time solving this problem
The file encoding should be utf-8
letg:EasyMotion_use_migemo=1nmap<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.