summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-06-08 23:29:04 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-06-08 23:29:04 +0900
commit951746297e26159cd45501030c56eca4bea4e277 (patch)
tree5fcce1989b86b43c5d24f0c75711978e35f6868f
parent984304568dd4759a9a78c6a6907dfea9f8ea4bd1 (diff)
Fix invalid layout example
-rw-r--r--README-VIM.md4
-rw-r--r--doc/fzf.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/README-VIM.md b/README-VIM.md
index 4dc86479..3b009d9b 100644
--- a/README-VIM.md
+++ b/README-VIM.md
@@ -72,7 +72,7 @@ let g:fzf_layout = { 'down': '~40%' }
" You can set up fzf window using a Vim command (Neovim or latest Vim 8 required)
let g:fzf_layout = { 'window': 'enew' }
let g:fzf_layout = { 'window': '-tabnew' }
-let g:fzf_layout = { 'window': '10split enew' }
+let g:fzf_layout = { 'window': '10new' }
" Customize fzf colors to match your color scheme
let g:fzf_colors =
@@ -139,7 +139,7 @@ Pass a layout option if you don't want fzf window to take up the entire screen.
```vim
" 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'})
+call fzf#run({'source': 'git ls-files', 'sink': 'e', 'window': '30vnew'})
```
`source` doesn't have to be an external shell command, you can pass a Vim
diff --git a/doc/fzf.txt b/doc/fzf.txt
index 9d60bf4c..b80993fb 100644
--- a/doc/fzf.txt
+++ b/doc/fzf.txt
@@ -97,7 +97,7 @@ Examples~
" You can set up fzf window using a Vim command (Neovim or latest Vim 8 required)
let g:fzf_layout = { 'window': 'enew' }
let g:fzf_layout = { 'window': '-tabnew' }
- let g:fzf_layout = { 'window': '10split enew' }
+ let g:fzf_layout = { 'window': '10new' }
" Customize fzf colors to match your color scheme
let g:fzf_colors =
@@ -156,7 +156,7 @@ screen.
>
" 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'})
+ call fzf#run({'source': 'git ls-files', 'sink': 'e', 'window': '30vnew'})
<
`source` doesn't have to be an external shell command, you can pass a Vim
array as the source. In the following example, we use the names of the open