all repos — archive/dotfiles @ a56734fbeef2a71d6ec31cca7c059c28d4e32b63

Superseded by nixfiles

emacs: dedicate a prefix to beancount
Alan Pearce alan@alanpearce.eu
Mon, 20 Aug 2018 12:09:41 +0200
commit

a56734fbeef2a71d6ec31cca7c059c28d4e32b63

parent

677d5cbcfe5a2a6ce54a8961b45e679dc95ef8d7

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -1568,11 +1568,14 @@ (file-directory-p beancount-dir))     (add-to-list 'load-path (expand-file-name "editors/emacs/"
                                               beancount-dir))
     (use-package beancount
-      :defines (beancount-use-ido)
+      :defines (beancount-use-ido
+                beancount-mode-map
+                beancount-mode-map-prefix)
       :commands beancount-mode
       :bind (:map beancount-mode-map
                   ("C-c d" . insert-date))
-      :config (setq beancount-use-ido nil))))
+      :config (setq beancount-use-ido nil
+                    beancount-mode-map-prefix (kbd ", a")))))
 
 ;;;;; Markdown