fuz.el
provides some fuzzy match scoring/matching functions for Emacs,
they are powered by Rust so it’s fast enough.
- It’s powered by Rust, so it can be much more faster than Elisp implementation
- It use a better subsequence alignment algorithm (O(m*n) time complexity)
The core part of fuz.el
is written in Rust, provided as a dynamic module,
so you need an Emacs at least 25.1, compiled with dynamic module support.
- Setup Rust compile toolchain, you can check here for some information.
- And you also need LLVM.
- Clone the repository and put it under your Emacs’s
load-path
- Load
fuz.el
. Runfuz-build-and-load-dymod
to build dynamic module.
Add this snippet to your .emacs.d
to make compilation automatically
(require 'fuz)
(unless (require 'fuz-core nil t)
(fuz-build-and-load-dymod))
fuz.el
can help you enhance your helm fuzzy searching quality and speed
with simple setup.
(with-eval-after-load 'helm
(require 'helm-fuz)
(helm-fuz-mode))
Please see https://github.com/Silex/ivy-fuz.el.
如果你觉得这个插件可以帮到你, 欢迎使用爱发电支持我 :)
If you like fuz, you can buy a cup of coffee for me :)