Wednesday, May 22, 2013

Re: How to get Allman style while typing and templated C++ code in Vim 7.3




On Wed, May 22, 2013 at 11:43 AM, <arjicot@gmail.com> wrote:
...
 
The second part it's about how under Vim it's possible to create some pre-packed files with some boring code and being able to just replace some key parts with some script, for example when creating a new C++ class I need the usual set of boring methods and ctors and the only thing that changes most of the time it's just the name of the class, so I would like to spend less time coding this repetitive portions of the code and kinda template and script the code generation for my source files

There are various solutions for templates on vim.org.

Have you tried UltiSnips, which supports templates from various different templating solutions?


David 

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: