junegunn/fzf — pull request #26 by wellle (2014-03-19 11:35:53+00:00)
Title: Add --query parameter to fzf invocation in vimf function

I'm using this function myself to edit fuzzy found files, similar to the `vimf` function in the Readme:
```sh
function ze() { FILE=$(fzf --query=$1) && vim "$FILE" }
```
I added the `--query=$1` parameter so I can use `ze foobar`. That way I can repeat that command with `^P` or `^R` and won't have to type the pattern again.

I thought this might be useful for others too, so I added it to your `vimf` function.

Usage:
```sh
vimf foobar
```