mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 16:45:38 -05:00
Updated Examples (vim) (markdown)
@@ -113,8 +113,8 @@ command! -bang Buffers call fzf#run(fzf#wrap('buffers',
|
||||
### `locate` command integration
|
||||
|
||||
```vim
|
||||
command! -nargs=1 Locate call fzf#run(fzf#wrap(
|
||||
\ {'source': 'locate <q-args>', 'options': '-m'}))
|
||||
command! -nargs=1 -bang Locate call fzf#run(fzf#wrap(
|
||||
\ {'source': 'locate <q-args>', 'options': '-m'}, <bang>0))
|
||||
```
|
||||
|
||||
`:Locate /` will list every file on the system. So make sure that you're using Go version of fzf which is significantly faster than the old Ruby version.
|
||||
|
||||
Reference in New Issue
Block a user