This is a ctrlp.vim extension and it picks out functions currently being edited file without ctags.
It just searches function definition or equivalent of it, therefore some languages abstraction
aren't accurate because of hard to parse.
This supports following filetypes:
- c++
- java
- javascript
- markdown
- nerdtree
- objc
- python
- ruby
- sh
- vim
- zsh
If you use Vundle you can install this plugin using Vim command :BundleInstall tacahiroy/ctrlp-funky
.
Don't forget put a line Bundle 'tacahiroy/ctrlp-funky'
into .vimrc
.
If you use pathogen.vim, you just execute following:
cd ~/.vim/bundle
git clone git://github.com/tacahiroy/ctrlp-funky.git
You don't use either plugin management system, copy autoload
and plugin
directory to your .vim
directory.
*nix: $HOME/.vim Windows: $HOME/vimfiles
You must available this plugin as a ctrlp.vim extension. Please add 'funky' to g:ctrlp_extensions
.
let g:ctrlp_extensions = ['funky']
Reboot Vim and then you can use :CtrlPFunky
command.
It might be useful like this mapping:
nnoremap <Space>fu :CtrlPFunky<Cr>
" narrow the list down with a word under cursor
nnoremap <Space>fU :execute 'CtrlPFunky '.expand('<cword>')<Cr>
Copyright (C) 2012-2013 Takahiro Yoshihara. Distributed under the MIT License.