This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/finance
d12frosted 0d6c378a51
improve ledger-reconcile-toggle key binding
Actually, revert @jgertm's change that I asked to make. As @bmag explained, this
is very useful key binding that is similar to C-c C-c as it allows to quickly
access functionality by pressing `dotspacemacs-major-mode-leader-key` twice.
Also note that `dotspacemacs-major-mode-leader-key` can be nil, that's why we
have to handle this value as well.
2017-01-05 07:57:46 +02:00
..
img
packages.el improve ledger-reconcile-toggle key binding 2017-01-05 07:57:46 +02:00
README.org Add keybindings for ledger account reconciliation 2017-01-04 21:55:32 +02:00

Finance layer

Description

This layer adds finance related packages:

/TakeV/spacemacs/media/commit/0d6c378a516caa433754969280bf279173f47fb9/layers/+tools/finance/img/ledger.png

Install

Layer

To use this configuration layer, add it to your ~/.spacemacs. You will need to add finance to the existing dotspacemacs-configuration-layers list in this file.

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/user-config. The default value, set in the layer, is 62.

  (defun dotspacemacs/user-config ()
    (setq ledger-post-amount-alignment-column 68))

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-Reconcile

Key Binding Description
SPC m , toggle the current transaction pending
SPC m a quickly add a transaction, without exiting the reconciliation buffer
SPC m t change the target amount for the selected account
SPC m q quit reconciliation
SPC m RET finalize the reconciliation, changing all pending transactions to cleared