diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-03-22 21:45:09 +0000 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-03-22 21:45:09 +0000 |
| commit | 24157555573f411e4d931bfd589b2e83fac22327 (patch) | |
| tree | 1d006e4b4329cc96a68b8d48c2d688a5193d3889 /.emacs | |
| parent | 584f860bd7c0e2fc60ea9df8a87356a5a95e5d3e (diff) | |
[emacs] cleaned up old config files
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 54 |
1 files changed, 0 insertions, 54 deletions
@@ -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) |
