summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '.emacs')
-rw-r--r--.emacs54
1 files changed, 0 insertions, 54 deletions
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)