+init.el for custom emacs configuration
Trying my hand at a custom emacs config on my own
This commit is contained in:
30
Emacs/.emacs.d/init.el
Normal file
30
Emacs/.emacs.d/init.el
Normal 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.
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user