From 91bc8d43e29a12d5d62ad087d4047484ed42e368 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Sun, 28 Apr 2013 11:03:36 -0500 Subject: [PATCH] Add snippet for ledger Signed-off-by: Rene Vergara Add a snippet to enter a transaction into a ledger file to be used with the ledger accounting tool. Recommend to use the vim-ledger plugin for filetype detection. --- UltiSnips/ledger.snippets | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 UltiSnips/ledger.snippets diff --git a/UltiSnips/ledger.snippets b/UltiSnips/ledger.snippets new file mode 100644 index 0000000..6eee4c3 --- /dev/null +++ b/UltiSnips/ledger.snippets @@ -0,0 +1,6 @@ +snippet t "Transaction" b +${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:*} ${5:Payee} + ${6:Expenses} \$${7:0.00} + ${8:Assets:Checking} + +endsnippet