Awesome
vim-fz
Ultra Fast Fuzzy finder for Vim8 and NeoVim.
But very very experimental!
Usage
:Fz
Or type ,f
APIs
type: cmd
nnoremap <C-p> :execute system('git rev-parse --is-inside-work-tree') =~ 'true'
\ ? fz#run({ 'type': 'cmd', 'cmd': 'git ls-files' })
\ : 'Fz'<CR>
type: list
command! FzColors call fz#run({
\ 'type': 'list',
\ 'list': uniq(map(split(globpath(&rtp, "colors/*.vim"), "\n"), "substitute(fnamemodify(v:val, ':t'), '\\..\\{-}$', '', '')")),
\ 'accept': {result->execute('colorscheme ' . result['items'][0])},
\ })
Requirements
- gof
- vim8 or neovim
Installation
$ go get github.com/mattn/gof
- Pathogen
git clone https://github.com/mattn/vim-fz.git ~/.vim/bundle/vim-fz
- vim-plug
Plug 'mattn/vim-fz'
- Vim packages
git clone https://github.com/mattn/vim-fz.git ~/.vim/pack/plugins/start/vim-fz
License
MIT
Author
Yasuhiro Matsumoto (a.k.a. mattn)