Skip to content

Provide an alignment/width option for hledger add #2008

@0branch

Description

@0branch

I've been keeping my journal entries aligned using vim-ledger's LedgerAlign command, which aligns transactions on the decimal separator at a preconfigured column (default: 60).

When adding transactions with add, however, hledger uses the max account width for calculating alignment, meaning that entries added by the wizard are aligned internally but (typically) misaligned with prior entries.

Feature request: please provide --width=Int/-w Int option or something similar so that I can request that transactions are aligned consistently. If an account width exceeds this specification, its width can be used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WISHSome kind of improvement request or proposal.add

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions