diff options
Diffstat (limited to 'README-VIM.md')
-rw-r--r-- | README-VIM.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/README-VIM.md b/README-VIM.md index e02a97f6..6751d25a 100644 --- a/README-VIM.md +++ b/README-VIM.md @@ -238,19 +238,20 @@ call fzf#run({'sink': 'e'}) ``` We haven't specified the `source`, so this is equivalent to starting fzf on -command line without standard input pipe; fzf will use find command (or -`$FZF_DEFAULT_COMMAND` if defined) to list the files under the current -directory. When you select one, it will open it with the sink, `:e` command. -If you want to open it in a new tab, you can pass `:tabedit` command instead -as the sink. +command line without standard input pipe; fzf will traverse the file system +under the current directory to get the list of files. (If +`$FZF_DEFAULT_COMMAND` is set, fzf will use the output of the command +instead.) When you select one, it will open it with the sink, `:e` command. If +you want to open it in a new tab, you can pass `:tabedit` command instead as +the sink. ```vim call fzf#run({'sink': 'tabedit'}) ``` -Instead of using the default find command, you can use any shell command as -the source. The following example will list the files managed by git. It's -equivalent to running `git ls-files | fzf` on shell. +You can use any shell command as the source to generate the list. The +following example will list the files managed by git. It's equivalent to +running `git ls-files | fzf` on shell. ```vim call fzf#run({'source': 'git ls-files', 'sink': 'e'}) |