indexa
1.0.0
增量搜索的定位替代方案
cargo install --git https://github.com/mosmeh/indexa
# view and search files & directories
ix
# choose which file to open in vi
vi $( ix )
# use regex
ix -r
# match full path
ix -p
第一次启动时,indexa 会询问您是否要使用默认配置创建数据库。
要更新数据库,请运行:
ix -u
indexa 的行为和外观可以通过编辑配置文件来定制。
配置文件在 Unix 上位于~/.config/indexa/config.toml
,在 Windows 上位于%APPDATA%indexaconfig.toml
。
USAGE:
ix [FLAGS] [OPTIONS]
FLAGS:
-s, --case-sensitive Search case-sensitively
-i, --ignore-case Search case-insensitively
-r, --regex Enable regex
-u, --update Update database and exit
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-q, --query <query> Initial query
-p, --match-path <when> Match path
-t, --threads <threads> Number of threads to use
-C, --config <config> Location of a config file