]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
snippets: org-mode/table2 thanks to http://howardism.org
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 19 Mar 2015 11:38:04 +0000 (12:38 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 19 Mar 2015 11:38:04 +0000 (12:38 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
snippets/org-mode/table2 [new file with mode: 0644]

diff --git a/snippets/org-mode/table2 b/snippets/org-mode/table2
new file mode 100644 (file)
index 0000000..3aabfa0
--- /dev/null
@@ -0,0 +1,11 @@
+# -*- mode: snippet; require-final-newline: nil -*-
+# name: table2
+# key: table2
+# --
+#+NAME: $1
+| Category              | Amount |
+|-----------------------+--------|
+| $0                      |        |
+|-----------------------+--------|
+| Total:                |   0.00 |
+#+TBLFM: @>\$2=vsum(@2..@-1);%.2f
\ No newline at end of file