Document setting the alignment column for ledger-mode.

This commit is contained in:
Travis B. Hartwell 2015-06-14 21:35:47 -06:00 committed by syl20bnr
parent 61062f5b14
commit fb8e530b1b
1 changed files with 18 additions and 5 deletions

View File

@ -3,6 +3,9 @@
* Table of Contents :TOC@4:
- [[#description][Description]]
- [[#install][Install]]
- [[#layer][Layer]]
- [[#configuration][Configuration]]
- [[#ledger][Ledger]]
- [[#key-bindings][Key bindings]]
- [[#ledger][Ledger]]
@ -15,12 +18,27 @@ This layer adds finance related packages:
* Install
** Layer
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(finance))
#+END_SRC
* Configuration
** Ledger
You can set what column transaction posts are aligned to on
the right by setting the variable =ledger-post-amount-alignment-column= in
your =dotspacemacs/config=. The default value, set in the layer, is =62=.
#+BEGIN_SRC emacs-lisp
(defun dotspacemacs/config ()
(setq ledger-post-amount-alignment-column 68))
#+END_SRC
* Key bindings
** Ledger
@ -39,8 +57,3 @@ To use this contribution add it to your =~/.spacemacs=
| ~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 |