diff options
author | Julian T <julian@jtle.dk> | 2022-11-18 16:16:27 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2022-11-18 16:16:37 +0100 |
commit | 86418ab6654a3f23bfdec3bb77ce0fb2ffa7bc68 (patch) | |
tree | 9d8787171c6b85e0ac07913eed3506cdb7709280 | |
parent | e9ebbae33b6deb8d27b0744abf095b15f7627997 (diff) |
Emacs changes
-rw-r--r-- | emacs/.emacs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emacs/.emacs b/emacs/.emacs index ecff625..281d2e3 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -7,7 +7,7 @@ (mapcar (lambda (p) (unless (package-installed-p p) (package-install p)) - ) (list 'auctex 'magit 'undo-tree 'haskell-mode 'evil 'bbdb 'company)) + ) (list 'clojure-mode 'cider 'auctex 'magit 'undo-tree 'haskell-mode 'evil 'bbdb 'company)) (setq evil-want-C-u-scroll t) (require 'evil) @@ -20,8 +20,11 @@ (require 'tex-site) -(evil-set-initial-state 'haskell-interactive-mode 'emacs) -(evil-set-initial-state 'haskell-error-mode 'emacs) +(mapcar (lambda (m) + (evil-set-initial-state m 'emacs)) + '(haskell-interactive-mode + haskell-error-mode + cider-repl-mode cider-stacktrace-mode)) ;; Windmove (defvar vim-move-mode-map @@ -109,7 +112,7 @@ '(display-line-numbers-type 'relative) '(global-display-line-numbers-mode t) '(package-selected-packages - '(auctex go-mode magit undo-tree 'flycheck 'flycheck bbdb haskell-mode evil)) + '(cider clojure-mode auctex go-mode magit undo-tree 'flycheck 'flycheck bbdb haskell-mode evil)) '(tool-bar-mode nil) '(warning-suppress-types '((org)))) (custom-set-faces |