简体   繁体   English

当您输入类似于Sublime的内容时,Emacs中是否存在用于模糊完成的任何扩展

[英]Is there any extension in Emacs for fuzzy completion as you type similar to Sublime

I tried auto-complete-mode . 我尝试了auto-complete-mode but suggestions are not fuzzy , it needs exact match. 但是建议并不模糊 ,需要完全匹配。

Also tried (global-set-key (kbd "MCI") ' ac-fuzzy-complete ), but this needs trigger (not as you type). 也尝试过(global-set-key(kbd“ MCI”)' ac-fuzzy-complete ),但这需要触发(而不是您键入时)。

Below is a screenshot for Sublime . 以下是Sublime的屏幕截图。 Even 'hw' suggests helloWorld 甚至“ hw”也提示“ helloWorld”

在此处输入图片说明

Something similar in Emacs? Emacs中有类似的东西吗?

https://github.com/lewang/flx https://github.com/lewang/flx

Here is the package for Emacs. 这是Emacs的软件包。 It's been super stable and you can setup with helm, ivy, or auto complete packages 它非常稳定,您可以设置掌舵,常春藤或自动完成包

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM