Friday, February 7, 2014

Re: Adding a file name to a template

On Wednesday, February 5, 2014 9:42:00 PM UTC-6, brandon wallace wrote:
> I would like to know if I can put the file name into the template automatically. This is what I have in my .vimrc to create the template:
>

There are plugins available for this, in fact it is built into many snippet plugins.

I personally opted for a light-weight arbitrary text solution:

http://vim.wikia.com/wiki/Use_eval_to_create_dynamic_templates

--
--
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: