summaryrefslogtreecommitdiff
path: root/init.el
blob: 741d666346816bdd8a7cdfbbc7f7a4d5d6382b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;; Move "custom" settings to separate file
(setq custom-file "~/.config/emacs/custom.el")
(load custom-file)

;; Remove superfluous GUI elements
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(show-paren-mode 1)

;; Set relative numbers
(global-display-line-numbers-mode)
(setq display-line-numbers-type 'relative)

;; Set font
(add-to-list 'default-frame-alist `(font . "Iosevka Nerd Font-18"))

;; Disable splash screen
(setq inhibit-startup-screen t)

;; Enable MELPA stable
(require 'package)
(add-to-list 'package-archives
	     '("melpa-stable" . "https://stable.melpa.org/packages/") t)