summaryrefslogtreecommitdiff
path: root/spacemacs
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2019-09-09 18:08:46 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2019-09-09 18:25:44 -0400
commit8b97d71ae1726c95be9f3ad64b6d2eca9afd8cda (patch)
treec85939391b2b9f3269074ed7fca2d5348d5ce7de /spacemacs
parentf21ea73d795814ad4adf20a9547a30e9d8fdde9d (diff)
spacemacs
Diffstat (limited to 'spacemacs')
-rw-r--r--spacemacs8
1 files changed, 7 insertions, 1 deletions
diff --git a/spacemacs b/spacemacs
index 63d9bd4..9880177 100644
--- a/spacemacs
+++ b/spacemacs
@@ -51,6 +51,7 @@ values."
gnus
mu4e
nixos
+ ess
(mu4e :variables
mu4e-installation-path "/usr/share/emacs/site-lisp")
)
@@ -58,7 +59,7 @@ values."
;; wrapped in a layer. If you need some configuration for these
;; packages then consider to create a layer, you can also put the
;; configuration in `dotspacemacs/config'.
- dotspacemacs-additional-packages '()
+ dotspacemacs-additional-packages '(hledger-mode)
;; A list of packages and/or extensions that will not be install and loaded.
dotspacemacs-excluded-packages '(smartparens flyspell evil-jumper)
;; If non-nil spacemacs will delete any orphan packages, i.e. packages that
@@ -231,6 +232,7 @@ user code."
(evil-leader/set-key "ort" #'org-agenda-file-to-front)
(evil-leader/set-key "orl" #'org-store-link)
(evil-leader/set-key "ora" #'org-agenda)
+ (evil-leader/set-key "ol" #'hledger-jentry)
(evil-leader/set-key "ot"
(lambda () (interactive) (org-capture nil "t")))
)
@@ -301,6 +303,10 @@ user code."
layers configuration. You are free to put any user code."
(setq custom-file "~/.spacemacs.local")
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
+ (add-hook 'ess-mode-hook
+ (lambda ()
+ (ess-toggle-underscore nil)))
+ (add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode))
(setq-default
vc-follow-symlinks nil
web-mode-code-indent-offset 2)