sponsor Vim development Vim logo Vim Book Ad

ctrlp-funky : Navigate and jump to function defs via ctrlp.vim interface

 script karma  Rating 37/10, Downloaded by 441    Comments, bugs, improvements  Vim wiki

created by
Takahiro Yoshihara
 
script type
utility
 
description
ctrlp-funky
============

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.
One of the advantages of this plugin is you needn't to generate tags file to jump to a function definition.

Screen shot: http://i.imgur.com/yO4PWAF.png

For further information, please see the GitHub page: https://github.com/tacahiroy/ctrlp-funky

CONFIGURATION
----------
You need to make the plugin available as a ctrlp.vim extension.
Please add 'funky' to a global variable `g:ctrlp_extensions`.

    let g:ctrlp_extensions = ['funky']

Reboot Vim and then you can use `:CtrlPFunky` command.
It might be useful like these mappings:

    nnoremap <Leader>fu :CtrlPFunky<Cr>
    " narrow the list down with a word under cursor
    nnoremap <Leader>fU :execute 'CtrlPFunky ' . expand('<cword>')<Cr>

LINK
--------------

kien/ctrlp.vim - https://github.com/kien/ctrlp.vim

License
-------

Copyright (C) 2012-2013 Takahiro Yoshihara. Distributed under the MIT License.
 
install details
You've been using ctrlp.vim, haven't you?  If not, you need to install ctrlp.vim (http://kien.github.io/ctrlp.vim) first.

If you use Vundle(https://github.com/gmarik/vundle.git) you can install this plugin with one line

:BundleInstall tacahiroy/ctrlp-funky

In addition, don't forget put a following line into your .vimrc:
Bundle 'tacahiroy/ctrlp-funky'

If you use pathogen.vim(https://github.com/tpope/vim-pathogen), you just execute following:

    cd ~/.vim/bundle
    git clone git://github.com/tacahiroy/ctrlp-funky.git

If you don't use either plugin management systems, you need to copy `autoload` and `plugin` directory to your `.vim` directory.

By default:
\*nix: $HOME/.vim
Windows: $HOME/vimfiles
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ctrlp-funky-0.8.2.zip 0.8.2 2014-02-22 7.0 Takahiro Yoshihara * Add html/xhtml support by Marc Mazer
ctrlp-funky-0.8.1.zip 0.8.1 2014-01-30 7.0 Takahiro Yoshihara * Add syntax highlighting feature for the funky buffer
ctrlp-funky-0.8.0.zip 0.8.0 2014-01-21 7.0 Takahiro Yoshihara + 0.8.0: Add ability to custom highlight
+ 0.7.1: Remove the old API
+ 0.7.0: Add coffee-script support (#23) by kirstein
+ Add post_extract_hook support
+ Fix java: remove 'else if' from the list
ctrlp-funky-0.6.4.zip 0.6.4 2013-10-26 7.0 Takahiro Yoshihara * Improve javascript functions search
* Improve java functions search
ctrlp-funky-0.6.2.zip 0.6.2 2013-10-07 7.0 Takahiro Yoshihara * Improve internal interface
* Add support for Perl
* Add support for Go
* Add anonymous function support for zsh
* Improve regexp for C/C++
ctrlp-funky-0.5.0.zip 0.5.0 2013-09-06 7.0 Takahiro Yoshihara + Add MRU feature
+ Add YAML support  by dusans (#20)
+ Add javascript object function support by mephux (#17)
+ Fix "Pattern not found" line appears in the list
ctrlp-funky-v0.4.4.zip 0.4.4 2013-08-15 7.0 Takahiro Yoshihara * Add Lua support
* Add new option: g:ctrlp_funky_sh_type to treat 'sh' as dash, bash, zsh etc.
ctrlp-funky-0.4.2.zip 0.4.2 2013-06-18 7.0 Takahiro Yoshihara - Add C support
- Improve C++ pattern
ctrlp-funky-0.4.1.zip 0.4.1 2013-05-24 7.0 Takahiro Yoshihara Fix regex pattern for sh. No parentheses case can be detected.
ctrlp-funky-703b7f.zip 0.4.0 2013-05-21 7.0 Takahiro Yoshihara Initial upload
ip used for rating: 50.19.144.243

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo