aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blog/content/notes/index.gmi1
-rw-r--r--blog/content/notes/tech/ledger.gmi (renamed from misc/ledger.md)22
2 files changed, 11 insertions, 12 deletions
diff --git a/blog/content/notes/index.gmi b/blog/content/notes/index.gmi
index 9d9ded42..50cb6dac 100644
--- a/blog/content/notes/index.gmi
+++ b/blog/content/notes/index.gmi
@@ -17,6 +17,7 @@ Notes about some books I like:
=> tech/ssh-for-beginners SSH for beginners
=> tech/document-formats Document formats
=> tech/internet-communication-channels Internet communication channels
+=> tech/ledger Ledger
### Gadgets
diff --git a/misc/ledger.md b/blog/content/notes/tech/ledger.gmi
index 18c6f1f1..97a0af3f 100644
--- a/misc/ledger.md
+++ b/blog/content/notes/tech/ledger.gmi
@@ -1,13 +1,14 @@
# ledger
-[ledger](https://ledger-cli.org/) is a double-entry accounting system based on a text file format.
-The [Plain text accounting](https://plaintextaccounting.org/) website lists more software based on the ideas.
+=> https://ledger-cli.org Ledger is a double-entry accounting system based on a text file format.
+
+=> https://plaintextaccounting.org/ The Plain text accounting website lists more software based on the ideas.
This document contains notes about how I use ledger.
## Configuration
-My `~/.ledgerrc` just contains:
+My ~/.ledgerrc just contains:
```
--file ~/Nextcloud/finances.ledger
@@ -26,8 +27,7 @@ I do so manually without automations.
In 2025, I registered over 800 transactions, and I didn't feel it was tedious.
-My main text editor is Emacs, so I use [ledger-mode](https://github.com/ledger/ledger-mode/).
-ledger-mode:
+My main text editor is Emacs, so I use ledger-mode:
* Automatically adds indentation and alignment.
* Autocompletion of accounts and payees.
@@ -40,20 +40,18 @@ ledger reg bankname:accountname
Then, I correlate with the running total that my bank websites show to find the first missing transaction and go on from there.
-I have a monthly calendar reminder to catch up on all accounts.
-In this session, I also update my pension plan accounts with their current value.
+I have a monthly calendar reminder to catch up on all accounts. In this session, I also update my pension plan accounts with their current value.
## Tagging
-### `who`
+### who
-I use the `who` tag because I want to make reports based on specific beings.
-For example, I want to query quickly costs associated to the cat.
+I use the who tag because I want to make reports based on specific beings. For example, I want to query quickly costs associated to the cat.
-In 2026, I think I will have some accounts like `Expenses:Supermarket:My Name` too, so I'm experimenting with the following snippet:
+In 2026, I think I will have some accounts like "Expenses:Supermarket:My Name" too, so I'm experimenting with the following snippet:
```
-= My Name
+= :My Name
; who: myname
```