A super simple function navigator for fzf, porting from ctrlp-funky.It is a very useful plugin when ctags is not exist or lsp is not support.
- Support neovim's floating window feature!
- Support vim's popup window feature!
This is a fzf vim extension. It simply navigates and jumps to function definitions from the current file without ctags. It just searches for function definitions or equivalent lines using regular expressions, therefore some languages' abstractions aren't accurate because of them being hard to parse.
One of advantages of this plugin is that no configuration is required in most cases, so it starts working right after installation with no ctags required. If you want to have a more accurate list of function defs, you should use other ctags-based tools, etc.
See ctrlp-funky.txt
First of all, I believe you're a user of a great Vim plugin called fzf.vim. Otherwise, you need to install fzf.vim before you start using this plugin.
It is recommended to install the plugin using plugin managers such as minpac, vim-plug, pathogen, Vundle, Dein.vim etc. You can copy/paste a line below if you use vim-plug:
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'tracyone/fzf-funky',{'on': 'FzfFunky'}
If you use neither of the plugin management systems, copy autoload and plugin directories to .vim directory. On Windows, basically, vimfiles directory is used instead of .vim directory.
It should be useful to define key mappings like this:
nnoremap <Leader>fu :FzfFunky<Cr>
" narrow the list down with a word under cursor
nnoremap <Leader>fU :execute 'FzfFunky ' . expand('<cword>')<Cr>
Copyright (C) 2012-2019 Takahiro Yoshihara. Distributed under the MIT License.