diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/emacs/.emacs b/emacs/.emacs index dc0ff08..a095f54 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -1,7 +1,7 @@ (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages")) -; (package-initialize) +(package-initialize) ; (package-refresh-contents) (mapcar (lambda (p) @@ -9,9 +9,13 @@ (package-install p)) ) (list 'evil 'haskell-mode)) +(setq evil-want-C-u-scroll t) (require 'evil) (evil-mode 1) +; (require 'evil-collection) +; (evil-collection-init) + (global-set-key (kbd "C-c l") #'org-store-link) (global-set-key (kbd "C-c a") #'org-agenda) (global-set-key (kbd "C-c c") #'org-capture) @@ -23,6 +27,7 @@ (setq show-paren-when-point-inside-paren 1) (setq backup-directory-alist '(("." . "~/.emacs_savefiles"))) + (setq indent-tabs-mode nil) (tool-bar-mode -1) (toggle-scroll-bar -1) @@ -33,7 +38,11 @@ (lambda () (evil-local-set-key 'normal (kbd "<SPC>") 'org-cycle))) -(setq evil-want-C-u-scroll t) +;; Load email configuration +(defun load-if-exists (file) + (if (file-exists-p file) (load file) nil)) + +(load-if-exists "~/Common/gnus.el") (custom-set-variables ;; custom-set-variables was added by Custom. |