# Finance contribution layer for Spacemacs
**Table of Contents**
- [Finance contribution layer for Spacemacs](#finance-contribution-layer-for-spacemacs)
- [Description](#description)
- [Install](#install)
- [Key bindings](#key-bindings)
- [Ledger](#ledger)
## Description
This layer adds finance related packages:
- [ledger][] support via [ledger-mode][]
![ledger-mode-img](img/ledger.png)
## Install
To use this contribution add it to your `~/.spacemacs`
```elisp
(setq-default dotspacemacs-configuration-layers '(finance))
```
## Key bindings
### Ledger
Key Binding | Description
---------------------|----------------------------------------------------------
SPC m a | add a transaction
SPC m b | edit a post amount with Emacs Calculator mode
SPC m c | toggle 'cleared' flag on transaction or post
SPC m C | sort and align the entire buffer
SPC m d | delete current transaction
SPC m p | display balance at point
SPC m q | align a single transaction's posts
SPC m r | reconcile an account
SPC m R | display a report
SPC m t | append an effective date to a post
SPC m y | set the year for quicker entry
SPC m RET | set the month for quicker entry
[ledger]: https://github.com/ledger/ledger
[ledger-mode]: https://github.com/ledger/ledger/tree/next/lisp