Add --query parameter to fzf invocation in vimf function

This commit is contained in:
Christian Wellenbrock 2014-03-19 12:30:42 +01:00
parent 5c71ecb267
commit 693b6651b4
2 changed files with 1 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -134,7 +134,7 @@ Useful examples
# vimf - Open selected file in Vim
vimf() {
local file
file=$(fzf) && vim "$file"
file=$(fzf --query=$1) && vim "$file"
}
# fd - cd to selected directory