Skip to content

Support folding markers #19

@adament

Description

@adament

First of all thank you very much for the nice vim plugin, it does everything it says. However I find myself wanting one additional feature:

I think it would be a huge benefit if the ledger folding code also supported custom folding markers. This would make it much easier to have a huge ledger file easily organized, you could for example have folds on years and months.

I imagine something like the following:

;{{{Year: 2011
;{{{Month: January

2011/01/01 * What a new years night!
    Expenses:Parties    $ 1500.00
    Assets:Checking
;}}}
;{{{Month:February
;}}}
;}}}

I want this to be integrated into the vim-ledger folding code rather than just using foldmethod=marker, since I would still much prefer the transactions to be folded.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions