-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
55 lines (47 loc) · 1.65 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
;;; init.el --- -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-when-compile
(require 'use-package))
(defvar last-file-name-handler-alist file-name-handler-alist)
(setq file-name-handler-alist nil)
(add-hook 'emacs-startup-hook
(lambda ()
(setq gc-cons-threshold 16777216
gc-cons-percentage 0.1
file-name-handler-alist last-file-name-handler-alist)))
(setq frame-title-format "")
(set-face-attribute 'default nil
:font "CommitMono Nerd Font"
:height 100)
(load "~/.emacs.d/config.el")
(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.
'(confirm-kill-processes nil)
'(electric-pair-mode t)
'(make-backup-files nil)
'(menu-bar-mode nil)
'(org-agenda-files nil)
'(package-selected-packages nil)
'(package-vc-selected-packages
'((pgmacs :url "https://github.com/emarsden/pgmacs.git" :branch "main")))
'(ring-bell-function 'ignore)
'(scroll-bar-mode nil)
'(tool-bar-mode nil)
'(tooltip-mode nil)
'(warning-minimum-level :emergency))
(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.
)
;;; init.el ends here