Merge pull request #26 from wellle/vimf-query

Add --query parameter to fzf invocation in vimf function
This commit is contained in:
Junegunn Choi 2014-03-19 21:09:52 +09:00
commit fa54c5d9b0
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