On Sun, 2014-09-07 at 12:25 +1000, Francis (Grizzly) Smit wrote:
> Umm that didn't work I have looked up SetFormat in the help and it
> sugests it should work too but when I put the entries in
> '$HOME/.vim/c-support/templates/Templates' nothing happens. does it need
> to be in any particular place in the file??
> --
if i put it at the top of Templates, it works for me..
original:
SetFormat( 'DATE', '%D' )
* Created : 09/08/14 09:38:59 AM
updated:
SetFormat( 'DATE', '%F' )
* Created : 2014-09-08 09:40:41 AM
$ head Templates
§ ==========================================================
§ User Macros
§ ==========================================================
SetFormat( 'DATE', '%F' )
SetMacro( 'AUTHOR', 'Reid Thompson' )
SetMacro( 'AUTHORREF', 'rthompso' )
--
--
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/d/optout.
Monday, September 8, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment