From 24157555573f411e4d931bfd589b2e83fac22327 Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Sun, 22 Mar 2026 21:45:09 +0000 Subject: [emacs] cleaned up old config files --- .emacs | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 .emacs (limited to '.emacs') diff --git a/.emacs b/.emacs deleted file mode 100644 index 538f7c9..0000000 --- a/.emacs +++ /dev/null @@ -1,54 +0,0 @@ -(setq custom-file "~/.emacs.custom.el") -(load custom-file) - -(add-to-list 'load-path "~/.emacs.local") -(load "~/.emacs.rc/rc.el") - -;; appearance -(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-11")) -(tool-bar-mode 0) -(menu-bar-mode 0) -(scroll-bar-mode 0) -(global-display-line-numbers-mode 1) - -;; simpc -(require 'simpc-mode) -(add-to-list 'auto-mode-alist '("\\.[hc]\\(pp\\)?\\'" . simpc-mode)) - -;; evil -(rc/require 'evil) -(evil-mode) - -;; ido -(rc/require 'ido) -(ido-mode) -(ido-everywhere) - -;; magit -(autoload 'magit-status "magit" nil t) -(autoload 'magit-log "magit" nil t) - -(setq magit-auto-revert-mode nil) - -(global-set-key (kbd "C-c m s") 'magit-status) -(global-set-key (kbd "C-c m l") 'magit-log) - -;; pdf-tools -(rc/require 'pdf-tools) -(add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode)) -(add-hook 'pdf-view-mode-hook (lambda () (display-line-numbers-mode -1))) - -;; compile window -(add-to-list 'display-buffer-alist - '("\\*compilation\\*" - (display-buffer-below-selected) - (window-height . 0.3))) - -(global-set-key (kbd "C-c c") #'compile) - -;; reload init -(defun reload-init-file () - (interactive) - (load-file "~/.emacs")) - -(global-set-key (kbd "C-c i") #'reload-init-file) -- cgit v1.2.3