#pinyin #directory #fuzzy-search #chinese #skim #ignore #show

app skim-pinyin

A tool for searching current dir with fuzzy pinyin power

1 unstable release

0.1.0 Oct 12, 2023

#365 in Internationalization (i18n)

MIT license

11KB
80 lines

Skim-Pinyin

Fuzzy chinese pinyin searcher written with Rust, powered by skim

Build

cargo build --release
mv ./targets/release/skim-pinyin /path/to/your/bin

Usage

# fuzzily search items on current directory
skim-pinyin
# fuzzily search items on ./Downloads
skim-pinyin ./Downloads
# show ignore files
skim-pinyin -s ./Downloads
# allow multiple selections
skim-pinyin -m ./Downloads
# specify dironly flag to filter out files and open with cd
cd $(skim-pinyin -d)
# use vim to open multiple files in current directory
vim $(skim-pinyin -m)

Scripts

Check scripts for details

  • fp.fish: Add fp command in fish shell to launch vim, cd or rm with skim-pinyin

Powered by

Dependencies

~14MB
~240K SLoC