2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-05 00:00:27 +00:00
fzf/test
Junegunn Choi 96176476f3 Make fuzzy completion customizable with _fzf_compgen_{path,dir}
Notes:
- You can now override _fzf_compgen_path and _fzf_compgen_dir functions
  to use custom commands such as ag instead of find for listing
  completion candidates.
    - The first argument is the base path to start traversal
- Removed file-only completion in bash, i.e. _fzf_file_completion.
  Maintaining a list of commands that only expect files, not
  directories, is cumbersome (there are too many) and error-prone.

TBD:
- Added $FZF_COMPLETION_DIR_COMMANDS to customize the list of commands
  which use directory-only completion. The default is "cd pushd rmdir".
  Not sure if it's the best approach to address the requirement, I'll
  leave it as an undocumented feature.

Related: #406 (@thomcom), #456 (@frizinak)
2016-01-20 01:38:24 +09:00
..
fzf.vader [vim] Try to make 'dir' option compatible with &autochdir 2016-01-12 01:15:36 +09:00
test_go.rb Make fuzzy completion customizable with _fzf_compgen_{path,dir} 2016-01-20 01:38:24 +09:00