From 7a04bb36ccf123d5d753704595a50d8e772ebedf Mon Sep 17 00:00:00 2001 From: dx Date: Fri, 24 Apr 2020 03:10:53 +0100 Subject: +init.el for custom emacs configuration Trying my hand at a custom emacs config on my own --- Emacs/.emacs.d/init.el | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Emacs/.emacs.d/init.el (limited to 'Emacs/.emacs.d/init.el') diff --git a/Emacs/.emacs.d/init.el b/Emacs/.emacs.d/init.el new file mode 100644 index 0000000..970ec1d --- /dev/null +++ b/Emacs/.emacs.d/init.el @@ -0,0 +1,30 @@ +(require 'package) +(add-to-list 'package-archives (cons "melpa" "https://melpa.org/packages/") t) +(package-initialize) +(setq ring-bell-function 'ignore) +(package-install 'use-package) + +(use-package evil + :ensure t + :config + (evil-mode +1)) + +(use-package evil-magit + :ensure t + :defer t) + +(use-package magit + :ensure t) + +(custom-set-variables + ;; custom-set-variables 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. + '(package-selected-packages (quote (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. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) -- cgit v1.2.3-13-gbd6f