-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathearly-init.el
33 lines (25 loc) · 1.07 KB
/
early-init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;;; early-init.el --- -*- lexical-binding:t -*-
;;; Code:
;; Path settings
(add-to-list 'load-path "~/.config/emacs/elisp")
(add-to-list 'load-path "/usr/share/emacs/site-lisp")
(add-to-list 'custom-theme-load-path "~/.config/emacs/themes")
;; Set a theme
(load-theme 'timu-macos t)
;; (setq tron-legacy-theme-vivid-cursor t)
;; Put custom configurations added via M-x customize
;; into its own file
(setopt custom-file (locate-user-emacs-file "custom.el"))
(load custom-file :no-error-if-file-is-missing)
;; Start emacs frame maximized
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(setopt inhibit-startup-screen t) ; Don't show the startup screen
(setopt visible-bell t) ; Enable visible bell
(tool-bar-mode -1) ; Don't show the tool bar
(menu-bar-mode -1) ; Don't show the menu bar
;; Don't enable package.el
(setopt package-enable-at-startup nil)
;; Don't ask if emacs should follow symlinks
(setopt vc-follow-symlinks t)
(provide 'early-init)
;;; early-init ends here