32 lines
634 B
Plaintext
32 lines
634 B
Plaintext
|
Given ledger:
|
||
|
1970-01-01 Person
|
||
|
Expenses $6.00
|
||
|
Cash
|
||
|
|
||
|
Execute (align buffer):
|
||
|
LedgerAlignBuffer
|
||
|
|
||
|
Expect ledger:
|
||
|
1970-01-01 Person
|
||
|
Expenses $6.00
|
||
|
Cash
|
||
|
|
||
|
Execute (align buffer on commodity):
|
||
|
let g:ledger_align_commodity = 1
|
||
|
LedgerAlignBuffer
|
||
|
|
||
|
Expect ledger:
|
||
|
1970-01-01 Person
|
||
|
Expenses $6.00
|
||
|
Cash
|
||
|
|
||
|
Execute (change default alignment):
|
||
|
let g:ledger_align_commodity = 0
|
||
|
let g:ledger_align_at = 40
|
||
|
LedgerAlignBuffer
|
||
|
|
||
|
Expect ledger:
|
||
|
1970-01-01 Person
|
||
|
Expenses $6.00
|
||
|
Cash
|