-
Notifications
You must be signed in to change notification settings - Fork 89
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
jump to chinese character base on its Pinyin #267
Comments
BTY, this function has benn added yet? To achieve this function, what we have to do is just to add a map between about 7000 characters and 26 alphabets which can resolve most situations. It should not be too difficult. |
I have tried to add the feature myself, but found the vim-sneak code hard to understand... So I haven't been able to do it myself... 😿 |
Maybe this can bring you a surprise. easymotion/vim-easymotion#455 |
@draftman9 Thanks for this info, but I have since switched to hop.nvim (yes, basically the same feature as vim-sneak). |
Vim or your OS input method should deal with this. Then whatever input sneak gets is simply mapped to your custom Adding explicit support into Sneak is out of scope. |
It would be great if we can also jump to Chinese characters using the first letter of its Pinyin, because if we use the Chinese character itself for jumping, we have to type several key strokes (which is usually the Pinyin of a Chinese character, of course, there are other ways, but pinyin is the most used way) to get the character.
A crude translation of the above English text:
Suppose we have the above Chinese texts and we want to jump to the Chinese words
汉语
(the corresponding pinyin ishan yu
), it would be great if we can type the sneak shortcut, and then presshy
to jump to the position where words汉语
exist.Some thought on how this may be implemented:
A similar discussion about this feature for vim-easymotion is here.
The text was updated successfully, but these errors were encountered: