diff --git a/rc/filetype/ledger.kak b/rc/filetype/ledger.kak index d0b9b540..4e4eaaf9 100644 --- a/rc/filetype/ledger.kak +++ b/rc/filetype/ledger.kak @@ -130,6 +130,8 @@ define-command -hidden ledger-indent-on-new-line %[ try %[ execute-keys -draft \; K ] # cleanup trailing whitespaces from previous line try %[ execute-keys -draft k s \h+$ d ] + # indent after the first line of a transaction + try %[ execute-keys -draft k ^[0-9] j ] ] ]