Files
plugins/smart-filter.yazi

smart-filter.yazi

A Yazi plugin that makes filters smarter: continuous filtering, automatically enter unique directory, open file on submitting.

Installation

ya pack -a yazi-rs/plugins#smart-filter

Usage

Add this to your ~/.config/yazi/keymap.toml:

[[manager.prepend_keymap]]
on = [ "F" ]
run = "plugin smart-filter"
desc = "Smart filter"

Make sure the F key is not used elsewhere.