For new users of emacs, here's the sample use-package declaration for using beancount-mode:
Ensure that the following line is present somwhere near the beginning of your init.el below (package-initialize) declaration:
The following lines can be anywhere in init.el
(use-package beancount
:ensure t
:commands beancount-mode
:hook
(beancount-mode . outline-minor-mode)
;; (beancount-mode . flymake-bean-check-enable)
:config
(setq-local electric-indent-chars nil)
:bind (:map beancount-mode-map
("C-c C-n" . outline-next-visible-heading)
("C-c C-p" . outline-previous-visible-heading)
("C-c C-u" . outline-up-heading)
("C-c C-b" . outline-backward-same-level)
("C-c C-f" . outline-forward-same-level)
("C-c C-a" . outline-show-all)
("C-c TAB" . beancount-outline-cycle)
))
Remember to uncomment line (beancount-mode . flymake-bean-check-enable) if you use flymake.
Posting in the mailing list so that new emacs users may find this quickly.
Regards,
Prabu