summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-04-10 23:23:47 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-04-10 23:23:47 +0900
commit622e69ff54f27363abc2ac18a5a69751f2b42f4a (patch)
treebb64b4a2acd30cef4131b63837f5b5184687ad8d /README.md
parent68503d32df91ded701cf7ad07f340aade4aa2e1d (diff)
[vim] Neovim compatibility (#137)
Use terminal emulator of Neovim to open fzf
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 006ddc48..5a471749 100644
--- a/README.md
+++ b/README.md
@@ -317,11 +317,16 @@ of the selected items.
| `source` | list | Vim list as input to fzf |
| `sink` | string | Vim command to handle the selected item (e.g. `e`, `tabe`) |
| `sink` | funcref | Reference to function to process each selected item |
+| `sink*` | funcref | Similar to `sink`, but takes the list of output lines at once |
| `options` | string | Options to fzf |
| `dir` | string | Working directory |
| `up`/`down`/`left`/`right` | number/string | Use tmux pane with the given size (e.g. `20`, `50%`) |
+| `window` (*Neovim only*) | string | Command to open fzf window (e.g. `vertical aboveleft 30new`) |
| `launcher` | string | External terminal emulator to start fzf with (Only used in GVim) |
+*However on Neovim `fzf#run` is asynchronous and does not return values so you
+should use `sink` or `sink+` to process the output from fzf.*
+
##### Examples
If `sink` option is not given, `fzf#run` will simply return the list.