Browse files

added readme

Signed-off-by: yonkeltron <>
  • Loading branch information...
yonkeltron committed Jul 22, 2012
1 parent addc4c0 commit 013db96f284e442b30e6ae1a6c211da1d8d6c812
Showing with 39 additions and 0 deletions.
  1. +39 −0 README
@@ -0,0 +1,39 @@
+If you want a lispy-way to define simple templates of varying size
+with multiple variables, then you should really consider
+terrible-template for all your templating needs!
+This library features a familiar, lispy syntax designed to make
+defining templates easy and intuitive for users of emacs. Supporting
+multiple template variables and interactive value prompting,
+terrible-template should help you to define templates and insert them
+easily as part of your workflow.
+This was inspired by things such as
+[tempo mode]( and
+[skeleton-mode]( but with
+a simpler interface and the ability to easily use multiple template
+Observe an example:
+ (defterrible "my-template-name"
+ "First line of the template\n"
+ "I'd like a variable here: " (var "var1") " as a demo.\n"
+ "Hooray for more variables resembling " (var "var2") " this right here")
+You can then insert this template anywhere with `M-x
+terrible-template-insert <RET> my-template-name` which will prompt you
+for the variable values, interpolate the template and insert it at
+I owe much to the wonderful folks on #emacs who helped me get my head
+straight for this little project.

0 comments on commit 013db96

Please sign in to comment.