Skip to content

Commit

Permalink
improve ledger-reconcile-toggle key binding
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
d12frosted authored and syl20bnr committed Apr 2, 2017
1 parent 66f740e commit d8df28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+tools/finance/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"y" 'ledger-set-year
"RET" 'ledger-set-month)
(spacemacs/set-leader-keys-for-major-mode 'ledger-reconcile-mode
"," 'ledger-reconcile-toggle
(or dotspacemacs-major-mode-leader-key ",") 'ledger-reconcile-toggle
"a" 'ledger-reconcile-add
"q" 'ledger-reconcile-quit
"t" 'ledger-reconcile-change-target
Expand Down

0 comments on commit d8df28c

Please sign in to comment.