mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-30 10:05:58 +00:00
Add --query parameter to fzf invocation in vimf function
This commit is contained in:
1 parent
5c71ecb267
commit
693b6651b4
2 files changed
+1
-1
No files matched your search
@@ -134,7 +134,7 @@ Useful examples
|
|||||||
# vimf - Open selected file in Vim
|
# vimf - Open selected file in Vim
|
||||||
vimf() {
|
vimf() {
|
||||||
local file
|
local file
|
||||||
file=$(fzf) && vim "$file"
|
file=$(fzf --query=$1) && vim "$file"
|
||||||
}
|
}
|
||||||
|
|
||||||
# fd - cd to selected directory
|
# fd - cd to selected directory
|
||||||
|
|||||||
Reference in new issue
Block a user