Vim Fz Save

Ultra Fast Fuzzy Finder for Vim8

Project README

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

  • 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)

Open Source Agenda is not affiliated with "Vim Fz" Project. README Source: mattn/vim-fz
Stars
65
Open Issues
9
Last Commit
3 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating