mattn / vim-fz

Ultra Fast Fuzzy Finder for Vim8
MIT License
64 stars 2 forks source link
fuzzyfinder vim vim8

vim-fz

Ultra Fast Fuzzy finder for Vim8 and NeoVim.

But very very experimental!

Fz

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

Installation

$ go get github.com/mattn/gof

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)