-
-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Welcome to the fuzzier wiki!
Fuzzier is a simple plugin to allow "fuzzy" file search with the UI inspired by telescope.nvim.
If you are interested in plugin development you can check out my write-up about creating Fuzzier in here. Or, if you're interested in the 0.20.0 changes (refactoring score calculation and implementing the file limit) you can check out this one.
The sorting is handled by scoring each file path based on the match options.
Supports spaces in the search string, splitting the string and searching for both parts separately. e.g. parts do not need to be in the correct order, as long as both succeed on their own. This is useful for example when searching for a file with a non-unique name.
Settings > Keymap > Plugins > Fuzzier

You can add actions to .ideavim file like this:
" File search
nmap <Leader>sf <action>(com.mituuz.fuzzier.search.Fuzzier)
nmap <Leader>sg <action>(com.mituuz.fuzzier.search.FuzzierVCS)
" Mover
nmap <Leader>fm <action>(com.mituuz.fuzzier.operation.FuzzyMover)
" Grepping
nmap <Leader>ss <action>(com.mituuz.fuzzier.grep.FuzzyGrepCI)
nmap <Leader>sS <action>(com.mituuz.fuzzier.grep.FuzzyGrep)
nmap <Leader>st <action>(com.mituuz.fuzzier.grep.FuzzyGrepOpenTabsCI)
nmap <Leader>sT <action>(com.mituuz.fuzzier.grep.FuzzyGrepOpenTabs)
nmap <Leader>sb <action>(com.mituuz.fuzzier.grep.FuzzyGrepCurrentBufferCI)
nmap <Leader>sB <action>(com.mituuz.fuzzier.grep.FuzzyGrepCurrentBuffer)
If you're interested, I've explained how I use IdeaVim here.
- You can use CTRL+D and CTRL+U to scroll the preview.
- When using ripgrep for FuzzyGrep, you can filter by file extension using the secondary search field.
To have the most fluid experience it is recommended to NOT highlight filenames in file list and use a low debounce period.
Another option to improve responsiveness, though less powerful is to disable full file preview for Fuzzy Grep.
build module can be used to find the correct Gradle build file for a certain module.
By setting Fuzzier to open files in a new tab and the editor to have a tab limit of 1 you can emulate a more authentic vim feeling. Though this requires that your workflow does not use tabs.