Comment on page
fuzzy match path
Q: I'm currently in path A, but I wanna list the files in path B which I don't know the exact path.
g -fto do a fuzzy search.
gwill remember the paths you've passed to g before*, and once you pass your path args to g with
gwill calculate the score for each path in the index, using the algorithm in
fzfproject, and it will return the path with the highest score as the result, listing entries there.
*: which is store at 'UserConfigDir/g/index'On Unix systems, UserConfigDir is $XDG_CONFIG_HOME as specified by https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if non-empty, else $HOME/.config.On Darwin, UserConfigDir is $HOME/Library/Application Support.On Windows, UserConfigDir is %AppData%.
by default, g will store every absolute path it receives.
--disable-indexor in short
-dito disable index update.
--remove-current-pathremove the working directory from the index.
--remove-invalid-pathwill try to access all the paths stored, and remove those that can't be accessed.