Skip to content

a ctrlp.vim extension - pick out functions

Notifications You must be signed in to change notification settings

ldavison/ctrlp-funky

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

ctrlp-funky

This supports following filetypes:

  • c++
  • java
  • javascript
  • markdown
  • nerdtree
  • objc
  • python
  • ruby
  • sh
  • vim
  • zsh

INSTALL

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

CONFIGURATION

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>

LINK

kien/ctrlp.vim

License

Copyright (C) 2012-2013 Takahiro Yoshihara. Distributed under the MIT License.

About

a ctrlp.vim extension - pick out functions

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%