Add TAB keybindings to beancount

This commit is contained in:
tecosaur 2020-05-17 11:29:11 +08:00
parent 27e2ef3dd3
commit 9cc99b1a05
1 changed files with 3 additions and 2 deletions

View File

@ -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: