1.5 KiB
1.5 KiB
ido-mini
A helm-mini in ido
Ido's -
- smarter sorting
- snappier speed meets helm-mini's -
- informatively-colored candidates list ()
- convenience of a single command to swich to buffers, open recentf files, and create new buffers.
Plus, some improvements of its own -
- If a recentf entry is already visited by a buffer, put the entry at the end of the (recentf?) candidates list.
- (planned) tweak
ido-mini-use-paths
to search and display not just buffer names but also their file paths, wherever applicable. - (planned) show documentation of functions from smex, akin to C-j in helm-M-x
Key customization
IMPORTANT
In Ido, key customization is sadly NOT done the usual way. Instead,
you write a function to change keybindings (you want to use
ido-completion-map
) and add that to `ido-setup-hook'. See section
'Customization' in (find-library "ido")
TODO
- When called twice in succession, quit ido-mini
- color the matched substring in the candidates?
- store only search terms in input history, not the selected buffer names/file paths
- Mimic exact C-j (
ido-select-text
) and RET behaviour (ido-exit-minibuffer
) - What if we search for files (perhaps only in user-specified directories, when provided) when there are no matches in the buffer list as well as in recentf?
- Add animated
- Add indicator if flx-ido-mode is enabled
- Add tests
Thanks
Thanks to wilfredh for the initial code that got me started - https://gist.github.com/Wilfred/31e8e0b24e3820c24850920444dd941d