From c4dadbc94f2856904a6f1375175b3e2193151f37 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 10 Mar 2019 13:24:17 +0900 Subject: [PATCH] Updated Examples (vim) (markdown) --- Examples-(vim).md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Examples-(vim).md b/Examples-(vim).md index ff63e0e..da4e7a4 100644 --- a/Examples-(vim).md +++ b/Examples-(vim).md @@ -38,12 +38,12 @@ the source. This will list the files managed by git. call fzf#run({'source': 'git ls-files', 'sink': 'e'}) ``` -If you use tmux, or use Neovim, you can open fzf in a tmux pane or a split -window so that it doesn't take up the entire screen. +Pass a layout option if you don't want fzf window to take up the entire screen. ```vim -" up / down / left / right are allowed +" up / down / left / right / window are allowed call fzf#run({'source': 'git ls-files', 'sink': 'e', 'right': '40%'}) +call fzf#run({'source': 'git ls-files', 'sink': 'e', 'window': '30vsplit'}) ``` `source` doesn't have to be an external shell command, you can pass a Vim