From 9cc99b1a056e81c0577fdb8957e7b9e7054ad755 Mon Sep 17 00:00:00 2001 From: tecosaur <20903656+tecosaur@users.noreply.github.com> Date: Sun, 17 May 2020 11:29:11 +0800 Subject: [PATCH] Add TAB keybindings to beancount --- config.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 9ccd126..a3c23f2 100644 --- a/config.org +++ b/config.org @@ -3574,8 +3574,9 @@ enable it for ~.beancount~ files. (let ((compilation-read-command nil)) (beancount--run "bean-report" (file-relative-name buffer-file-name) "bal"))) - ;; TODO make the following *work* - :bind (:map beancount-mode-map ("S-RET" . #'beancount-align-to-previous-number))) + (map! :map beancount-mode-map + :n "TAB" #'beancount-align-to-previous-number + :i "TAB" #'beancount-tab-dwim)) #+END_SRC # Local variables: