sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating 45/12, Downloaded by 737    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.

Screenshot: 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']

Restart Vim and then you can use `:CtrlPFunky` command.
It might be useful defining key mappings below:

    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
 
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` (vimfiles for Windows) directory.
 

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.9.1.zip 0.9.1 2014-10-13 7.0 Takahiro Yoshihara * Add very basic Scala support
* Add basic Elixir support
* Add TRACE32 (cmm) and Makefile (make) support (#44)
* Add basic TypeScript support (#52)
* Improve Java support (#48)

* Add clear cache functionality
* Add 'g:ctrlp_funky_matchtype' (#13, #50)

* Fix error when selecting a function in split window (#49)
* Fix regexp for C++ to support scope resolution operator (#51)
* Fix multi-lined function support for C and Java (#47)
ctrlp-funky-0.9.0.zip 0.9.0 2014-06-29 7.0 Takahiro Yoshihara * Add cache feature (#27).
  ideas from dusans
* php - Add support for extra keywords, final, static etc. (#35)
  by axehead
* Fix error a markdown file contains YAML Front matter (#36)
  reported by dictav
* markdown: Add h4 to h6 support
ctrlp-funky-0.8.4.zip 0.8.4 2014-04-21 7.0 Takahiro Yoshihara * Add support for returning by reference function for PHP (#31)
    by dingmingxin
* Fix performance issue for python (#30)
    by dusans
* Add Jinja template support. (#29)
    by vitalk
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: 54.227.41.242

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