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