diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/fzf.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/fzf.txt b/doc/fzf.txt index e88f7564..2c04872d 100644 --- a/doc/fzf.txt +++ b/doc/fzf.txt @@ -154,8 +154,9 @@ Examples~ \ 'ctrl-v': 'vsplit' } " Default fzf layout - " - down / up / left / right + " - down / up / left / right / window let g:fzf_layout = { 'down': '~40%' } + let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } } " You can set up fzf window using a Vim command (Neovim or latest Vim 8 required) let g:fzf_layout = { 'window': 'enew' } @@ -426,8 +427,9 @@ When fzf starts in a terminal buffer, the file type of the buffer is set to `fzf`. So you can set up `FileType fzf` autocmd to customize the settings of the window. -For example, if you use the default layout (`{'down': '~40%'}`) on Neovim, you -might want to temporarily disable the statusline for a cleaner look. +For example, if you use a non-popup layout (e.g. `{'down': '40%'}`) on +Neovim, you might want to temporarily disable the statusline for a cleaner +look. > if has('nvim') && !exists('g:fzf_layout') autocmd! FileType fzf |
