vim-easymotion icon indicating copy to clipboard operation
vim-easymotion copied to clipboard

add dict support

Open yehuohan opened this issue 4 years ago • 5 comments

add dict support for motion target with simplified chinese text and traditional chinese text.

yehuohan avatar Nov 17 '20 14:11 yehuohan

Can g:EasyMotion_dict use multi-dict?

My document mix-up is in several languages, including simplified Chinese, traditional Chinese, and English.

VimWei avatar Jun 18 '21 02:06 VimWei

我测试了一下,反馈两个可以改进的地方: I tested it and reported two areas for improvement:

  1. 在输入检索内容时,目前还不能像英文那样实时加亮候选项目。 When I enter the retrieved content, it can not highlight the candidate items in real time but it can in English.

  2. 不能中英文混合查询,只能纯粹英文,或纯粹中文。建议在字典中加入26个英文字母对自身的映射(包括大小写)即可解决。 It can't mix Chinese and English query, but only pure English, or pure Chinese. It is recommended that the English alphabet be mapped to its own lowercase and uppercase. For example, map a to a and A.

VimWei avatar Jun 18 '21 02:06 VimWei

再反馈一个问题: Here’s another feedback:

  1. 不能检索超出屏幕范围的中文:我使用 nmap f <Plug>(easymotion-sn) 可以检索超出屏幕范围的英文,但无法检索超出屏幕范围的中文。

Unable to retrieve out-of-screen Chinese: I can retrieve out-of-screen English using nmap f <Plug>(easymotion-sn) , but not out-of-screen Chinese.

VimWei avatar Jun 18 '21 02:06 VimWei

Sorry for that I had only code and debug with (easymotion-overwin-f). There are issues with (easymotion-sn) and I need sometime to debug it.

yehuohan avatar Jun 19 '21 09:06 yehuohan

@VimWei (easymotion-sn) use incsearch feature to highlight input and I think it's not suitable time to replace inputed pattern with dict text.

yehuohan avatar Jul 16 '21 16:07 yehuohan