Ⅰ. 插件描述
Display current function prototype in statuslineⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/cream-statusline-prototype'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/cream-statusline-prototype'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/cream-statusline-prototype'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/cream-statusline-prototype
Ⅳ. 文档说明
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.