mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 00:53:42 -05:00
Typo
@@ -85,9 +85,9 @@ The following table shows the available options.
|
|||||||
`:FZF` command provided by default knows how to handle `CTRL-T`, `CTRL-X`, and
|
`:FZF` command provided by default knows how to handle `CTRL-T`, `CTRL-X`, and
|
||||||
`CTRL-V` and opens the selected file in a new tab, in a horizontal split, or
|
`CTRL-V` and opens the selected file in a new tab, in a horizontal split, or
|
||||||
in a vertical split respectively. And these key bindings can be configured via
|
in a vertical split respectively. And these key bindings can be configured via
|
||||||
`g:plug_action`. This is implemented using `--expect` option of fzf and
|
`g:fzf_action`. This is implemented using `--expect` option of fzf and
|
||||||
the smart sink function. It also understands `g:fzf_layout` and
|
the smart sink function. It also understands `g:fzf_layout` and
|
||||||
`g:plug_history_dir`. With `fzf#wrap` function, you can make your command
|
`g:fzf_history_dir`. With `fzf#wrap` function, you can make your command
|
||||||
support the options.
|
support the options.
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
@@ -105,7 +105,7 @@ command! -bang Buffers call fzf#run(fzf#wrap(
|
|||||||
\ {'source': map(range(1, bufnr('$')), 'bufname(v:val)')}, <bang>0))
|
\ {'source': map(range(1, bufnr('$')), 'bufname(v:val)')}, <bang>0))
|
||||||
|
|
||||||
" You can optionally pass the name of the command as the first argument to
|
" You can optionally pass the name of the command as the first argument to
|
||||||
" fzf#wrap to make it work with g:plug_history_dir
|
" fzf#wrap to make it work with g:fzf_history_dir
|
||||||
command! -bang Buffers call fzf#run(fzf#wrap('buffers',
|
command! -bang Buffers call fzf#run(fzf#wrap('buffers',
|
||||||
\ {'source': map(range(1, bufnr('$')), 'bufname(v:val)')}, <bang>0))
|
\ {'source': map(range(1, bufnr('$')), 'bufname(v:val)')}, <bang>0))
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user