Simple Fuzzy
Fuzzy search line-based jump for the current file and project files.
Details
Installs
- Total 232
- Win 114
- Mac 67
- Linux 51
Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
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