This commit is contained in:
Akko
2023-11-15 10:49:16 +01:00
parent b448fa15b7
commit 916e376500
6 changed files with 455 additions and 173 deletions

11
snippets/org-mode/acc Normal file
View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# -*- time-stamp-active: nil; -*-
# name: accounting block
# uuid: acc
# trigger: acc
# condition: t
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
# --
`(format-time-string "%Y")`/$1/$2 $3
acc_entry$0

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# -*- time-stamp-active: nil; -*-
# name: accounting entry
# uuid: acc_entry
# trigger: acc_entry
# condition: t
# expand-env: ((yas-indent-line nil) (yas-wrap-around-region 'nil)
# --
$1 €$2
${3:$$(yas-choose-value '("acc_entry" "Assets:Bank:Kahr:Primary\n" "Liabilities:Credit Card:Kahr:Main\n"))}$0