summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--custom.el13
-rw-r--r--init.el24
3 files changed, 40 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0b7a0fc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+eln-cache/
+elpa/
+transient/ \ No newline at end of file
diff --git a/custom.el b/custom.el
new file mode 100644
index 0000000..cfa4872
--- /dev/null
+++ b/custom.el
@@ -0,0 +1,13 @@
+(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.
+ '(custom-enabled-themes '(wombat))
+ '(package-selected-packages '(magit markdown-mode)))
+(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.
+ )
diff --git a/init.el b/init.el
new file mode 100644
index 0000000..741d666
--- /dev/null
+++ b/init.el
@@ -0,0 +1,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)