Hello, "Marc Weber" <[email protected]> wrote:
> Excerpts from Bryan Hunt's message of Wed Jan 19 01:30:18 +0100 2011: > > A question also, if I may. Is snipmate or are any of the vim > > template approaches capable of referencing variables, the base > > file name, for example. > Yes. snipmate: `any-vim-code` See its documentation. > I do no longer recall about xptemplate. I'm pretty sure it has > something similar. Several template expander plugins have this feature. mu-template templates even support loops, recursion, and parameters since its last version -- e.g. http://code.google.com/p/lh-vim/wiki/lhCpp_Enums#switch-case_generation (The syntax is a bit awkward though -- http://code.google.com/p/lh-vim/source/browse/mu-template/trunk/after/template/c/switch.template). -- Luc Hermitte http://lh-vim.googlecode.com/ http://hermitte.free.fr/vim/ -- 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
