commit e2e16c95c6323fc180c95119256d48117cefba14
parent fca17fef1f5d538a2a33d434faaca72ab56da05a
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 5 Feb 2022 11:41:29 +0100
emacs: ledger tweaks and company mode
Diffstat:
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -163,6 +163,13 @@ Solution: ~brew tap daviderestivo/emacs-head && brew install emacs-head@28 --wit
(custom-set-faces '(ivy-posframe-border ((t (:inherit mode-line-inactive)))))
(ivy-posframe-mode 1)))
#+end_src
+** company
+Good completion.
+
+#+begin_src emacs-lisp
+ (use-package company
+ :hook (ledger-mode . company-mode))
+#+end_src
** wgrep
#+begin_src emacs-lisp
(use-package wgrep)
@@ -389,8 +396,10 @@ Sometimes it's better to look at undo history as a tree:
** ledger
#+begin_src emacs-lisp
(use-package ledger-mode
+ :mode ("\\.ledger\\'")
:config
- (setq ledger-clear-whole-transactions t))
+ (setq ledger-clear-whole-transactions t
+ ledger-reconcile-default-commodity "EUR"))
#+end_src
* Interface
** Start debugger on error
@@ -870,7 +879,6 @@ Allow me to tack new heading names onto the end of my outline path, and if I am
(setq org-refile-allow-creating-parent-nodes 'confirm)
#+end_src
-
*** Quick capture
Quick capture lets me send something to my inbox very quickly, without thinking about where it should go.
The inbox is processed later.