https://github.com/pythonnut/helm-flx
:twisted_rightwards_arrows: Flx-based fuzzy sorting for helm
https://github.com/pythonnut/helm-flx
Last synced: about 1 month ago
JSON representation
:twisted_rightwards_arrows: Flx-based fuzzy sorting for helm
- Host: GitHub
- URL: https://github.com/pythonnut/helm-flx
- Owner: PythonNut
- License: gpl-3.0
- Created: 2015-10-13T21:03:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T17:39:00.000Z (over 2 years ago)
- Last Synced: 2025-02-07T08:48:59.686Z (3 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 52.7 KB
- Stars: 48
- Watchers: 3
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# helm-flx
[](http://melpa.org/#/helm-flx)
This package implements intelligent helm fuzzy sorting, provided by [`flx`](https://github.com/lewang/flx).
You can install the package by either cloning it yourself, or by doing M-x `package-install` RET `helm-flx` RET.
After that, you can enable it by putting the following in your init file:
```emacs
(helm-flx-mode +1)
```In addition, there are two important configuration variables:
```emacs
(setq helm-flx-for-helm-find-files t ;; t by default
helm-flx-for-helm-locate t) ;; nil by default
```Some History
============Crazy stuff simmers in my [`emacs-config`](https://github.com/PythonNut/emacs-config), and every once and a while, it's worth sharing. [This was no exception](https://github.com/PythonNut/emacs-config/blob/f1df3ac16410bfa72d88855325bd6c2de56f587b/modules/config-helm.el#L33#L89). It's been patiently evolving in my config for the better part of a year, and I think it's useful enough to benefit other people.
Note that `flx`'s author [**@lewang**](https://github.com/lewang) did start work on his own port of `helm-flx`, but it appears to have been abandoned. (Left unfinished without modification for nine months.) If, at any time, lewang can find time to contribute again, (his implementation is significantly more efficient than mine) I would be glad.
Caveats
=======* Doesn't work for sources that don't already support fuzzy matching