Throw echofunc.vim into plugin directory and that's all.
- echofunc.vim get function information from tags file. So first of all you need to create tags for your code. Use the following command to generate tags with language and signature fields: $ctags -R --fields=+lS .
- echofunc.vim maps ( in insert mode in order to automatically display function info after left bracket is pressed. So please make sure the left bracket ( is not mapped by other plugins. You may check it using
:imap (
. - The function info is displayed in message line by default. Since the message line may be flushed by other trivial messages, a better way is to show function info in status line by appendding
%{EchoFuncGetStatusLine()}
into yourstatusline
option. - Another feature of echofunc.vim is to privide a balloon tip when the mouse cursor hovers a function name, macro name, etc. This feature is enabled when
+balloon_eval
is compiled in.