<commit_before># FuzzySearchFilesInCurrentFolder

This is a plugin to locate with fuzzy search/find the files and folders starting from the current folder in [fman](https://fman.io/).

[fman](https://fman.io/)'s is file exploration tool yet. Dare I say finally even faster then Total Commander?
I say this because it has fuzzy search like Sublime and on top of that it works cross platform on Mac, Windows and Linux.

PS: If you are looking for these features in a terminal, check this out [fzf](https://github.com/junegunn/fzf)

![Fuzzy search files and folders in all subfolders from current folder](https://raw.githubusercontent.com/kszcode/FuzzySearchFilesInCurrentFolder/master/resources/FuzzySearchInSubFolder.png)

## Features

- Search file in current folder: pressing CMD+F or CMD+E will popup the quick search and you can fuzzy find the file or folder you need, pressing enter will place the cursor on it.
- Search file in current sub folders: pressing SHIFT+CMD+F or SHIFT+CMD+E will popup the quick search and you can fuzzy find the file or folder looking into all the subfolders. For performance reasons only 5000 files are loaded, this is also signaled in the status bar.

## Installation

Go to the command pallete: SHIFT+CMD+P > Install Plugin >FuzzySearchFilesInCurrentFolder

You can also install it manually just copy the contents of this folder to:

```~/Library/Application Support/fman/Plugins/User/FuzzySearchFilesInCurrentFolder```


## Further development

- comment code
- the loading of the subfolders should be done in a flat mode instead of recursive mode (see explanation below)
- stop after 100 matches are found, signal in status bar
- on every key stroke load more fiels from under the matched folder, this way we can explore the subdirectory quite deep without having performance problems
- consider the toggle of the hidden files (see explanation below)
<commit_msg>Update documentation for clarity<commit_after># FuzzySearchFilesInCurrentFolder

This is a plugin to locate with fuzzy search/find the files and folders starting from the current folder in [fman](https://fman.io/).

[fman](https://fman.io/) is the fastest file exploration that I've seen.
Dare I say finally even faster then Total Commander?
I say this because it has fuzzy search like Sublime and on top of that it works cross platform on Mac, Windows and Linux.

PS: If you are looking for these features in a terminal, check this out [fzf](https://github.com/junegunn/fzf)

![Fuzzy search files and folders in all subfolders from current folder](https://raw.githubusercontent.com/kszcode/FuzzySearchFilesInCurrentFolder/master/resources/FuzzySearchInSubFolder.png)

## Features

- Search file in current folder: pressing CMD+F or CMD+E will popup the quick search and you can fuzzy find the file or folder you need, pressing enter will place the cursor on it.
- Search file in current sub folders: pressing SHIFT+CMD+F or SHIFT+CMD+E will popup the quick search and you can fuzzy find the file or folder looking into all the subfolders. For performance reasons only 5000 files are loaded, this is also signaled in the status bar.

## Installation

Go to the command pallete: SHIFT+CMD+P > Install Plugin >FuzzySearchFilesInCurrentFolder

You can also install it manually just copy the contents of this folder to:

```~/Library/Application Support/fman/Plugins/User/FuzzySearchFilesInCurrentFolder```


## Further development

- comment code
- the loading of the subfolders should be done in a flat mode instead of recursive mode (see explanation below)
- stop after 100 matches are found, signal in status bar
- on every key stroke load more fiels from under the matched folder, this way we can explore the subdirectory quite deep without having performance problems
- consider the toggle of the hidden files (see explanation below)

{'fraction_non_alphanumeric': 0.05629397967161845, 'fraction_numerical': 0.0036486838676048996, 'mean_word_length': 4.806354009077156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1580959', 'n_tokens_mistral': 1036, 'n_tokens_neox': 962, 'n_words': 526}