diff options
author | Julian T <julian@jtle.dk> | 2022-10-11 23:14:32 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2022-10-11 23:14:32 +0200 |
commit | e3ad906b3da4769e0fbeb1780092b279b8abff2e (patch) | |
tree | 6db6c607f4ea74a79d38d0f4a5c1a035dfa8ee1c | |
parent | 9d958f167a62371107f9b83ded6031c9192eb242 (diff) |
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. |