summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el25
1 files changed, 10 insertions, 15 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 9a50003..219c29c 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -13,22 +13,14 @@
'(org-agenda-files
(quote
("/home/blaise/org/agenda.org" "/home/blaise/org/anniversaries.org" "/home/blaise/org/repeat.org" "/home/blaise/org/todo.org" "/home/blaise/org/projects/")))
- '(package-selected-packages
- (quote
- (exec-path-from-shell ledger-mode evil-ledger ## ledger-import treemacs-evil treemacs avy move-text es-lib helm-flyspell flycheck which-key helm-swoop evil-leader helm spaceline evil use-package)))
- '(send-mail-function (quote sendmail-send-it)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; 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.
)
;; Bootstrap `use-package'
+(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(require 'package)
+(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
-;;(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
@@ -51,23 +43,26 @@
)
(exec-path-from-shell-initialize)
+(load-file "~/source/dotfiles/emacs/undo-tree.el")
+(require 'undo-tree)
+
;; company
(use-package company
:ensure t
)
;; evil
+(use-package evil
+ :config
+ (evil-mode 1)
+ (modify-syntax-entry ?_ "w")
+)
(use-package evil-leader
:ensure t
:config
(evil-leader/set-leader "<SPC>")
(global-evil-leader-mode)
)
-(use-package evil
- :config
- (evil-mode 1)
- (modify-syntax-entry ?_ "w")
- )
;; flycheck
(use-package flycheck