Fuzzy auto-completion for Beancount & other Ledger-likes with Company Mode
Install company-ledger from MELPA
- Open your ledger file or the sample beancount file
- Enter some text for a new transaction
- A dropdown with similar past transactions will appear
- Select the most relevant transaction from dropdown
- The selected transaction will be inserted at point
- Update the inserted transaction as appropriate
- Make sure company-mode is already installed
- Though not strictly required, you'd mostly want ledger-mode or beancount-mode also setup
(with-eval-after-load 'company
(add-to-list 'company-backends 'company-ledger))
(use-package company-ledger
:ensure company
:init
(with-eval-after-load 'company
(add-to-list 'company-backends 'company-ledger)))