diff options
Diffstat (limited to 'emacs/.emacs')
-rw-r--r-- | emacs/.emacs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/emacs/.emacs b/emacs/.emacs index ec560f0..b323e96 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -4,8 +4,10 @@ ; (package-initialize) ; (package-refresh-contents) -(unless (package-installed-p 'evil) - (package-install 'evil)) +(mapcar (lambda (p) + (unless (package-installed-p p) + (package-install p)) + ) (list 'evil 'haskell-mode)) (require 'evil) (evil-mode 1) @@ -14,6 +16,9 @@ (global-set-key (kbd "C-c a") #'org-agenda) (global-set-key (kbd "C-c c") #'org-capture) +(setq display-line-numbers 'relative) +(global-display-line-numbers-mode) + (add-hook 'org-mode-hook (lambda () (evil-local-set-key 'normal (kbd "<SPC>") 'org-cycle))) @@ -22,7 +27,8 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages '(evil))) + '(custom-enabled-themes '(tango-dark)) + '(package-selected-packages '(haskell-mode evil))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. |