From e0182d33716068ffb1b53f7a8931fe1b5594f382 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 2 Jul 2016 20:32:24 +0900 Subject: [PATCH] Add more g:fzf_layout examples --- README.md | 5 ++++- doc/fzf-vim.txt | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aa38c63..be49fd1 100644 --- a/README.md +++ b/README.md @@ -100,9 +100,12 @@ let g:fzf_action = { " Default fzf layout " - down / up / left / right -" - window (nvim only) let g:fzf_layout = { 'down': '~40%' } +" In Neovim, you can set up fzf window using a Vim command +let g:fzf_layout = { 'window': 'enew' } +let g:fzf_layout = { 'window': '-tabnew' } + " Customize fzf colors to match your color scheme let g:fzf_colors = \ { 'fg': ['fg', 'Normal'], diff --git a/doc/fzf-vim.txt b/doc/fzf-vim.txt index 57c3655..cb058a0 100644 --- a/doc/fzf-vim.txt +++ b/doc/fzf-vim.txt @@ -129,9 +129,12 @@ Global options~ " Default fzf layout " - down / up / left / right - " - window (nvim only) let g:fzf_layout = { 'down': '~40%' } + " In Neovim, you can set up fzf window using a Vim command + let g:fzf_layout = { 'window': 'enew' } + let g:fzf_layout = { 'window': '-tabnew' } + " Customize fzf colors to match your color scheme let g:fzf_colors = \ { 'fg': ['fg', 'Normal'],