+init.el for custom emacs configuration

Trying my hand at a custom emacs config on my own
This commit is contained in:
dx
2020-04-24 03:10:53 +01:00
parent c65cf688fc
commit 7a04bb36cc

30
Emacs/.emacs.d/init.el Normal file
View File

@@ -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.
)