Simple Fuzzy
Fuzzy search line-based jump for the current file and project files.
Details
Installs
- Total 257
- Win 127
- Mac 71
- Linux 59
Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
SimpleFuzzy package for Sublime Text
Jump to everywhere by built-in fuzzy function to perform a line-based searching for the current file or the active project folder. If you open up multiple folders in the same sublime window, the folder relative to the current open file will be used for project searching.
Usage
Example key bindings to the window commands:
[
{ "keys": ["super+k", "super+f"], "command": "fuzzy_current_file"},
{ "keys": ["super+k", "super+p"], "command": "fuzzy_active_project"},
]
Or, simply run the following commands by Ctrl-Shift-P
in command palette:
SimpleFuzzy: Current File…
SimpleFuzzy: Active Project…
Customization
Your favorite file listing command and checking command can be specified by adding user settings.
{
"simple_fuzzy_ls_cmd": "ag foo {folder}",
"simple_fuzzy_chk_cmd": "where ag",
}
- Variable
{folder}
is the target folder to be searched. - Command specified in
simple_fuzzy_chk_cmd
will only be used to check if the listing commandsimple_fuzzy_ls_cmd
should be used.
If user-defined command fails or not specified, default using the following commands for fallback:
1. rg
: rg --files "{folder}"
(highly recommended, required ripgrep)
2. git
: git -C "{folder}" ls-files
3. built-in
: Python built-in os.walk
function
User can also specify the prefer one as: rg
, git
, or built-in
Debugging
Run the following command in Console view to toggle console log.
>>> window.run_command('simple_fuzzy_debug_toggle')
Known issues
- Performance issue
- Always go to the line begining