drmingdrmer / xptemplate

Code snippets engine for Vim, with snippets library. XPTemplate let you write codes in a smooth, quick and comfortable way.

Home Page:http://www.vim.org/scripts/script.php?script_id=2611

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

main function template

huaihuaiVV opened this issue · comments

commented

when i use main template ,
it looks like this :

    int

main(int argc, char **argv)
{

    return 0;

}

i don't want int in a new line ,
i want this :

int main(int argc, char **argv)
{

    return 0;

}

how to setting like this ?

Thank you !

commented

hi

it worked , but
when i set $BRfun=''

the function :

int main(.....) {

}

like this ,
i want :

int main(...)
{

}

like this .

how to do this ?

Thanks

xpt makes most snippet writing easier but not all. For some of the cases rewrite is a simpler way. In FAQ there is a short guide about redefining snippets.

发自我的 iPhone

在 2014年5月8日,0:50,wyl notifications@github.com 写道:

hi

it worked , but
when i set $BRfun=''

the function :

int main(.....) {

}

like this ,
i want :

int main(...)
{

}

like this .

how to do this ?

Thanks


Reply to this email directly or view it on GitHub.