fuzzy finder wrapper plugin for fish.
inspired from mollifier/anyframe
You can use your favorite fuzzy finder!
Main Command: anyfff_widget
Sub Commands:
- put_history
- Put the command selected from the command history on the commandline
- put_filename
- Put the filename selected from some files on the commandline
- The candidates are optimized according to the content of the command line
- Currently it does not correspond to several git commands 😢
- checkout_git_branch
- Checkout to branch selected from branch including remote branch
- put_git_branch
- Put the selected branch on the commandline
- kill_process
- Kill 9 for the selected running process
- Although it is a standard, I wonder if I will use it ...?
- cdr
- Select from cd history and directories around the current directory and cd to that directory
With fundle
- add to your
config.fish
fundle plugin hagiyat/anyfff
$ fundle install
Choose any one from among these.
Please assign favorite key bind to widget, set alias and use it.
Example:
bind \cr 'anyfff_widget put_history'
bind \cx\cx 'anyfff_widget put_filename'
bind \cx\cg 'anyfff_widget checkout_git_branch'
bind \cx\cb 'anyfff_widget put_git_branch'
alias cd 'anyfff_widget cdr'
The default settings will be applied without setting anything 👍
if type -q sk
set -x SKIM_DEFAULT_OPTIONS '--ansi'
set -x ANYFFF__FINDER_APP sk
set -x ANYFFF__FINDER_APP_OPTION_MULTIPLE '-m'
end
# The contents of the peripheral directory to which you cd are cached.
set -x ANYFFF__CDR_CACHE_PATH ~/.local/share/fish/anyfff/cdr
# This is the retention period (days) setting.
set -x ANYFFF__CDR_CACHE_LIFETIME 3
set -x ANYFFF__FILESEARCH_MAXDEPTH 2
# Setting scan range for file search
set -x ANYFFF__FILESEARCH_MAXDEPTH 2
[MIT][license-link]