This commit is contained in:
tockn
2020-01-10 11:51:02 +09:00
committed by Junegunn Choi
parent 8b778dc642
commit 8a6894d6a5
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, fzf#vim#with_preview({'options': ['--layout=reverse', '--info=inline']}), <bang>0) \ call fzf#vim#files(<q-args>, fzf#vim#with_preview({'options': ['--layout=reverse', '--info=inline']}), <bang>0)
``` ```
You can just omit the spec argument if you only want the previwer. You can just omit the spec argument if you only want the previewer.
```vim ```vim
command! -bang -nargs=? -complete=dir Files command! -bang -nargs=? -complete=dir Files

View File

@@ -255,7 +255,7 @@ with additional preview options.
command! -bang -nargs=? -complete=dir Files command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, fzf#vim#with_preview({'options': ['--layout=reverse', '--info=inline']}), <bang>0) \ call fzf#vim#files(<q-args>, fzf#vim#with_preview({'options': ['--layout=reverse', '--info=inline']}), <bang>0)
< <
You can just omit the spec argument if you only want the previwer. You can just omit the spec argument if you only want the previewer.
> >
command! -bang -nargs=? -complete=dir Files command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0) \ call fzf#vim#files(<q-args>, fzf#vim#with_preview(), <bang>0)