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