Skip to content
Myr

Update README-VIM: options as list (#896)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 5677e5e · Browse files · 2 files+19 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+19 added−3 removed

  • other:+19 added−3 removed

2 files+19 added−3 removed

modified:doc/fzf.txt+9 added-2 removed
1fzf.txt fzf Last change: April 1 20171fzf.txt fzf Last change: April 28 20172FZF - TABLE OF CONTENTS *fzf* *fzf-toc*3==============================================================================45 FZF Vim integration
118 unmodified lines
124 `source` | list | Vim list as input to fzf125 `sink` | string | Vim command to handle the selected item (e.g. `e` , `tabe` )126 `sink` | funcref | Reference to function to process each selected item127 `sink*` | funcref | Similar to `sink` , but takes the list of output lines at once128 `options` | string | Options to fzf128 `options` | string/list | Options to fzf129 `dir` | string | Working directory130 `up` / `down` / `left` / `right` | number/string | Use tmux pane with the given size (e.g. `20` , `50%` )131 `window` (Neovim only) | string | Command to open fzf window (e.g. `vertical aboveleft 30new` )132 `launcher` | string | External terminal emulator to start fzf with (GVim only)133 `launcher` | funcref | Function for generating `launcher` string (GVim only)134 ---------------------------+---------------+--------------------------------------------------------------135136`options` entry can be either a string or a list. For simple cases, string137should suffice, but prefer to use list type if you're concerned about escaping138issues on different platforms.139>140 call fzf#run({'options': '--reverse --prompt "C:\\Program Files\\"'})141 call fzf#run({'options': ['--reverse', '--prompt', 'C:\Program Files\']})142<143144FZF#WRAP *fzf#wrap*145==============================================================================146
36 unmodified lines
modified:README-VIM.md+10 added-1 removed