kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.37k stars 148 forks source link

feat: Add case sensitivity support for searching and selecting files #392

Closed oo-infty closed 12 months ago

oo-infty commented 12 months ago

Currently the behaviors of all operations related to searching and selecting files are inconsistent and unchangeable. To be more specific, :search, :search_inc and :search_glob are case-insensitive, while :search_fzf and :substr_fzf are smart-case, which is provided by fzf's default search options, and :select --glob is case-sensitive.

I make all these operations' behaviors consistent and add support for choosing the case sensitivity configuration consists of insensitive, sensitive and smart.