vim autowrite functions in header file. C lang

Viewed 674

I tried to use vim for c program editing. Is there a way to auto write function skeleton defined in header file?

situations like

"my_code.h"
int temp(int*);

and "my_code.c" <<< here auto write >>> like

int temp(int*) { return }
int main()
{
}

I'm using c.vim plug-in. I tried to find it, but I couldn't make it.

3 Answers
Related