diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-06-29 12:57:16 +0100 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-06-29 12:57:16 +0100 |
| commit | 00995597aec70ebd100ef74bc11a738071d39ea2 (patch) | |
| tree | ec0b8e71bf60e4919b5c13052a7935f31e6dbead /init.el | |
Initial Commit
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 60 |
1 files changed, 60 insertions, 0 deletions
@@ -0,0 +1,60 @@ +(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 nil)) +(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. + ) + +(require 'package) +(setq package-enable-at-startup nil) + +(setq package-archives + '(("melpa" . "https://melpa.org/packages/") + ("gnu" . "https://elpa.gnu.org/packages/") + ("org" . "https://orgmode.org/elpa/"))) + +(package-initialize) + +(unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) + +(use-package evil + :ensure t + :config + (evil-mode 1)) + +(use-package magit + :ensure t) + +(use-package alect-themes + :ensure t + :config + (load-theme 'alect-black t)) + +(setq-default indent-tabs-mode nil) +(setq-default tab-width 4) + +(tool-bar-mode -1) +(menu-bar-mode -1) +(scroll-bar-mode -1) + +(setq display-line-numbers-type 'relative) +(global-display-line-numbers-mode 1) + +(set-face-attribute 'default nil :font "FiraCode Nerd Font Mono") +(set-face-attribute 'fixed-pitch nil :font "FiraCode Nerd Font Mono") + +(add-hook 'c-mode-common-hook + (lambda () + (c-set-style "linux") + (setq indent-tabs-mode nil) + (setq tab-width 4))) + +(setq compilation-scroll-output t) |
