feat: add smart-filter and jump-to-char plugins

This commit is contained in:
sxyazi
2024-06-14 12:28:55 +08:00
commit 061899cb34
7 changed files with 161 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# smart-filter.yazi
A Yazi plugin that makes filters smarter: continuous filtering, automatically enter unique directory, open file on submitting.
## Installation
```sh
ya pack -a yazi-rs/plugins#smart-filter
```
## Usage
Add this to your `~/.config/yazi/keymap.toml`:
```toml
[[manager.prepend_keymap]]
on = [ "F" ]
run = "plugin smart-filter"
desc = "Smart filter"
```
Make sure the <kbd>F</kbd> key is not used elsewhere.