From a56734fbeef2a71d6ec31cca7c059c28d4e32b63 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 20 Aug 2018 12:09:41 +0200 Subject: emacs: dedicate a prefix to beancount --- emacs/.emacs.d/main.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index ff3c53f4..fbd6e9ca 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -1568,11 +1568,14 @@ With two prefix arguments, write out the day and month name." (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 -- cgit 1.4.1