Skip to content

huaihuaiVV/echofunc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 

Repository files navigation

Install

Throw echofunc.vim into plugin directory and that's all.

How to use

  1. 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 .
  2. 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 (.
  3. 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 your statusline option.
  4. 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.

Screenshot

About

Display c/c++ function declaration in vim command/status line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%