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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to