Add TAB keybindings to beancount

This commit is contained in:
tecosaur 2020-05-17 11:29:11 +08:00
parent 27e2ef3dd3
commit 9cc99b1a05

View file

@ -3574,8 +3574,9 @@ enable it for ~.beancount~ files.
(let ((compilation-read-command nil)) (let ((compilation-read-command nil))
(beancount--run "bean-report" (beancount--run "bean-report"
(file-relative-name buffer-file-name) "bal"))) (file-relative-name buffer-file-name) "bal")))
;; TODO make the following *work* (map! :map beancount-mode-map
:bind (:map beancount-mode-map ("S-RET" . #'beancount-align-to-previous-number))) :n "TAB" #'beancount-align-to-previous-number
:i "TAB" #'beancount-tab-dwim))
#+END_SRC #+END_SRC
# Local variables: # Local variables: