From 370fcfef08079aaf42a45ce4ec3273b02a7e12a3 Mon Sep 17 00:00:00 2001 From: opFez Date: Thu, 24 Dec 2020 12:27:57 +0100 Subject: [PATCH] update init.el, add magit --- init.el | 7 +++++-- packages.el | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index cad47a2..328831b 100644 --- a/init.el +++ b/init.el @@ -12,6 +12,9 @@ (tool-bar-mode 0) (scroll-bar-mode 0) +;; UTF-8!!!! +(set-language-environment "UTF-8") + ;; Appearance (set-frame-font "Terminus 12") (set-face-italic 'font-lock-comment-face nil) ; disable italics @@ -81,8 +84,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - (quote - (go-mode tao-themes tao-theme almost-mono-themes use-package)))) + '(magit expand-region go-mode tao-themes tao-theme almost-mono-themes use-package))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -90,3 +92,4 @@ ;; If there is more than one, they won't work right. ) ;; +(put 'downcase-region 'disabled nil) diff --git a/packages.el b/packages.el index 3f3314b..60a7662 100644 --- a/packages.el +++ b/packages.el @@ -57,3 +57,6 @@ :ensure t :config (add-hook 'xref-backend-functions #'dumb-jump-xref-activate)) + +(use-package magit + :ensure t)