From cfd7cd6a2fd23d89bd8d1292939658b7517ede7d Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Tue, 18 Aug 2026 00:10:20 -0400 Subject: Initial commit --- .gitignore | 3 +++ custom.el | 13 +++++++++++++ init.el | 24 ++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 custom.el create mode 100644 init.el 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) -- cgit v1.2.3