- 05 Oct, 2015 4 commits
-
-
Junegunn Choi authored
-
Junegunn Choi authored
Interrupt handling during execute action was not serialized and often caused crash, failed to restore the terminal state.
-
Junegunn Choi authored
* _fzf_complete is the helper function for custom completion * _fzf_complete FZF_OPTS ARGS * Reads the output of the source command instead of the command string * In zsh, you can use pipe to feed the data into the function, but it's not possible in bash as by doing so COMPREPLY is set from the subshell and thus nullified * Change the naming convention for consistency: * _fzf_complete_COMMAND e.g. # pass completion suggested by @d4ndo (#362) _fzf_complete_pass() { _fzf_complete '+m' "$@" < <( local pwdir=${PASSWORD_STORE_DIR-~/.password-store/} local stringsize="${#pwdir}" find "$pwdir" -name "*.gpg" -print | cut -c "$((stringsize + 1))"- | sed -e 's/\(.*\)\.gpg/\1/' ) } # Only in bash complete -F _fzf_complete_pass -o default -o bashdefault pass
-
Junegunn Choi authored
-
- 04 Oct, 2015 1 commit
-
-
Junegunn Choi authored
While in bash you can externally register custom completion functions using `complete` command, it was not possible to do so in zsh without changing completion.zsh as the name of the supported commands are hard-coded within the code (See #362). With this commit, fzf-completion of zsh will first look if `_fzf_COMMAND_completion` exists and calls the function, so one can externally define completion functions for specific commands. This commit also tries to make the interface of (yet undocumented) _fzf_list_completion helper function consistent across bash and zsh. So the following code works both on bash and zsh. _fzf_pass_completion() { local pwdir=${PASSWORD_STORE_DIR-~/.password-store/} local stringsize="${#pwdir}" let "stringsize+=1" _fzf_list_completion '+m' "$@" << "EOF" find "$pwdir" -name "*.gpg" -print | cut -c "$stringsize"- | sed -e 's/\(.*\)\.gpg/\1/' EOF } # Only on bash complete -F _fzf_pass_completion -o default -o bashdefault pass Note that the suggested convention and the interface are not yet final and subject to change. /cc @d4ndo
-
- 02 Oct, 2015 2 commits
-
-
Junegunn Choi authored
This change improves sort ordering for aligned tabular input. Given the following input: apple juice 100 apple pie 200 fzf --nth=2 will now prefer the one with pie. Before this change fzf compared "juice " and "pie ", both of which have the same length.
-
Junegunn Choi authored
Remove dependency on zsh/pcre module
-
- 01 Oct, 2015 1 commit
-
-
Austin Ziegler authored
Fixes #363.
-
- 30 Sep, 2015 2 commits
-
-
Junegunn Choi authored
[vim] handle SwapExists
-
Justin M. Keyes authored
The SwapExists dialog prevents multiple files from being opening if the dialog occurs before all files are opened. Opening the files is more important than showing the dialog, so choose "readonly" automatically and continue opening files.
-
- 27 Sep, 2015 2 commits
-
-
Junegunn Choi authored
-
Junegunn Choi authored
-
- 26 Sep, 2015 2 commits
-
-
James Baumgarten authored
-
Junegunn Choi authored
Related: https://github.com/junegunn/fzf.vim/issues/16
-
- 24 Sep, 2015 1 commit
-
-
Junegunn Choi authored
Close #354
-
- 22 Sep, 2015 2 commits
-
-
Junegunn Choi authored
-
Junegunn Choi authored
-
- 20 Sep, 2015 1 commit
-
-
Junegunn Choi authored
-
- 19 Sep, 2015 6 commits
-
-
Junegunn Choi authored
-
Junegunn Choi authored
This reverts commit 987799f8.
-
Junegunn Choi authored
This reverts commit d2f3604c.
-
Junegunn Choi authored
-
Junegunn Choi authored
-
Junegunn Choi authored
Instead of building a separate statically-linked binary, build partially-static binary that only contains ncurses to avoid compatibility issues in libc.
-
- 18 Sep, 2015 3 commits
-
-
Junegunn Choi authored
-
Junegunn Choi authored
Related: #345
-
Junegunn Choi authored
-
- 15 Sep, 2015 2 commits
-
-
Junegunn Choi authored
and allow using --header and --header-lines at the same time. Close #346.
-
Junegunn Choi authored
A la grep. Close #345
-
- 14 Sep, 2015 1 commit
-
-
Junegunn Choi authored
-
- 12 Sep, 2015 4 commits
-
-
Junegunn Choi authored
-
Junegunn Choi authored
-
Junegunn Choi authored
-
Junegunn Choi authored
Close #338
-
- 07 Sep, 2015 1 commit
-
-
Junegunn Choi authored
-
- 05 Sep, 2015 1 commit
-
-
Junegunn Choi authored
-
- 31 Aug, 2015 2 commits
-
-
Junegunn Choi authored
Fixes Helptags! command from fzf.vim
-
Junegunn Choi authored
-
- 30 Aug, 2015 2 commits
-
-
Junegunn Choi authored
Fix CTRL-T on fish to work asynchronously
-
Michał Kalbarczyk authored
-