all repos — archive/dotfiles @ b5919c4a52db991ea9a60410d27751afe6c87f75

Superseded by nixfiles

Emacs: Add shortcut to insert current date in beancount
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 20:08:51 +0200
commit

b5919c4a52db991ea9a60410d27751afe6c87f75

parent

a9cf2404db130d299bd4208a6657cc1ed4b866bc

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

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -1790,6 +1790,8 @@ (add-to-list 'load-path (expand-file-name "editors/emacs/"                                               beancount-dir))
     (use-package beancount
       :defines (beancount-use-ido)
+      :bind (:map beancount-mode-map
+                  ("C-c d" . insert-date))
       :config (setq beancount-use-ido nil))))
 ;; #+END_SRC