mirror of https://github.com/junegunn/fzf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38a2076b89
This allows to have a custom widget like the following, which would additionally accept the line, but only in case of entries being selected: fzf-file-widget-with-accept() { zle fzf-file-widget if [[ "$?" == 0 ]] && (( $#BUFFER )); then zle accept-line fi } zle -N fzf-file-widget-with-accept bindkey '\e^T' fzf-file-widget-with-accept With this `<C-a>t` will launch fzf, and simulate the pressing of "Enter" afterwards. |
8 years ago | |
---|---|---|
.. | ||
completion.bash | 8 years ago | |
completion.zsh | 8 years ago | |
key-bindings.bash | 8 years ago | |
key-bindings.fish | 8 years ago | |
key-bindings.zsh | 8 years ago |