commit 5a331ad9dc7ebbb9ed0b0d83bd0433c8cab895e2 Author: frosty Date: Thu Jul 4 15:48:58 2024 -0400 add first init file diff --git a/init.el b/init.el new file mode 100644 index 0000000..42ea861 --- /dev/null +++ b/init.el @@ -0,0 +1,49 @@ +(require 'package) +(add-to-list 'package-archives + '("melpa" . "https://melpa.org/packages/")) +(package-initialize) +(package-refresh-contents) + +;; Download Evil +(unless (package-installed-p 'evil) + (package-install 'evil)) + +;; Enable Evil +(require 'evil) +(evil-mode 1) + +(unless (package-installed-p 'gruvbox-theme) + (package-install 'gruvbox-theme)) + +(load-theme 'gruvbox-dark-medium) + +(set-face-attribute 'default nil + :font "Fira Mono" + :height 100 + :weight 'medium) + +(set-face-attribute 'font-lock-comment-face nil + :slant 'italic) + +(menu-bar-mode -1) +(tool-bar-mode -1) +(scroll-bar-mode -1) + +(global-display-line-numbers-mode 1) +(global-visual-line-mode 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. + '(custom-safe-themes + '("046a2b81d13afddae309930ef85d458c4f5d278a69448e5a5261a5c78598e012" default)) + '(package-selected-packages '(evil))) +(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. + )