summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2014-03-19 21:09:52 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2014-03-19 21:09:52 +0900
commitfa54c5d9b0f97b0b9c3aa9c20346d644d0debd1a (patch)
tree597dcf0c5ed6558f745bdd6e285a26c89b68761d
parent5c71ecb26752471115b8f692d80d5a933f1d4a22 (diff)
parent693b6651b441762c4cb5f8bc5b6eec58c45b108e (diff)
Merge pull request #26 from wellle/vimf-query
Add --query parameter to fzf invocation in vimf function
-rw-r--r--.DS_Storebin0 -> 6148 bytes
-rw-r--r--README.md2
2 files changed, 1 insertions, 1 deletions
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 00000000..e63ec570
--- /dev/null
+++ b/.DS_Store
Binary files differ
diff --git a/README.md b/README.md
index efea7c0f..57d8408b 100644
--- a/README.md
+++ b/README.md
@@ -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