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