Something like this:

# Options

# Assets

## Assets:US:BankA

## Assets:US:BankB

# Liabilities

## Liabilities:Mortgage

## Liabilities:US:Credit

Each Assets:US:BankA and BankB are folded within Assets, similarly with
Liabilities:Mortgage and Liabilities:US:Credit inside Liabilities.

On Mon, Feb 13, 2017 at 12:29 PM shaun <[email protected]> wrote:

> That sounds great.
>
> Could you give a quick example of what it looks like to use the markdown
> style folds?  I'm trying something but it doesn't seem to be working.
>
>
> On Mon, Feb 13, 2017 at 12:18 PM Jason Chu <[email protected]> wrote:
>
> vim-beancount now supports markdown style folds, so #, ##, and ### (* is
> also supported) headers are folded automatically and you don't need to use
> {{{ anymore.
>
>
> On Mon, Feb 13, 2017 at 12:09 PM Alex Johnstone <[email protected]> wrote:
>
> I used beancount in emacs (well spacemacs) for a while, then stopped using
> beancount, then came back to it but this time I use vim.
>
> I wasn't a vim or emacs user before using beancount, and I've found vim to
> be easier and quicker to get around and use for beancount. The key feature
> was folding and the vim-beancount plugin. I did edit the way the plugin
> does folding, I switched to markers and found it so easy to navigate.
>
> I have the following layout:
>
> ; Config {{{1
> ; Options {{{2
> ; Commodities {{{2
>
> etc. so {{{1 for top level, like * in org-mode, and {{{2 for ** and so on.
>
> I have all my transactions wrapped by accounts:
>
> ; UK {{{2
>
> : Bank A {{{3
>
> ; Bank B {{{3
>
> etc.
>
> Then I just use the folding z keys to open and close and navigate around.
> The best one being ]z to jump to the end of the current fold ready to add
> the next transaction. Whilst I was learning I put this at the top of my
> file to refer to:
>
> ;; Navigation
> ;; za will toggle folds between markers, {{{ and a number
> ;; [z move to start of current fold
> ;; ]z move to end of current fold
> ;; zj move down to start of next fold
> ;; zk move up to end of previous fold
> ;; ----------------- ;;
> ;; Beancount shortcuts
> ;; C-x C-o Omni completion
> ;; SPC = Align commodity        [I set this as based upon the
> vim-beancount doc's guide]
> ;; Select chunks in visual mode and use align commodity on it
>
> Let me know if you need more explanation.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/e980b84d-c7a4-4a5d-aab6-81d83e3fcd2a%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/e980b84d-c7a4-4a5d-aab6-81d83e3fcd2a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAFFHUgtUyXeh8JMTkCxJSNq1n%2BK8HicrZ8zVTTbMOQ3a%3Dz%3DHNw%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAFFHUgtUyXeh8JMTkCxJSNq1n%2BK8HicrZ8zVTTbMOQ3a%3Dz%3DHNw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAMQv9hA6yU2MXNQWfHH%3D0TRiRzosVMCkxUmcxQipghAbCF5LDg%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAMQv9hA6yU2MXNQWfHH%3D0TRiRzosVMCkxUmcxQipghAbCF5LDg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAFFHUgtWbj_Uch05Rxq6He9kO2d44c%2B1kUpJrXNbykiYxN9HgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to