sponsor Vim development Vim logo Vim Book Ad

cream-statusline-prototype : Display current function prototype in statusline

 script karma  Rating 15/5, Downloaded by 1997  Comments, bugs, improvements  Vim wiki

created by
Steve Hall
 
script type
utility
 
description

Toggles the display of the current function prototype on the statusline with key <F8>. This is a basic illustration of how to write code to accomplish this...feel free to embellish!


USAGE

By default, the <F8> key will toggle the display of the current prototype in the statusline. The prototype is recalculated each time it is toggled ON.


This is one of many custom utilities and functions for gVim from the Cream project (http://cream.sourceforge.net), a configuration of Vim for those of us familiar with Apple and Windows software.

 
install details

This script is dependant on:

* Exhuberant ctags (http://ctags.sf.net)
* taglist.vim (http://vim.sourceforge.net/scripts/script.php?script_id=273, alternate: http://www.geocities.com/yegappan/taglist)

Just install exuberant ctags and drop both taglist.vim and this file into your plugins directory. Then (re)start Vim and use key <F8> to toggle the prototype on and off.

 

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
cream-statusline-prototype.vim 1.01 2004-09-30 6.0 Steve Hall * Improved restoration of existing statusline by escaping pipe/bar and space chars.
* Silenced errors when searching for tags file and it doesn't exist.
cream-statusline-prototype.vim 1.0 2004-09-29 6.0 Steve Hall Initial upload
ip used for rating: 3.21.106.69

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.
   
Vim at Github