-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathload-theme.el
More file actions
74 lines (53 loc) · 2.12 KB
/
load-theme.el
File metadata and controls
74 lines (53 loc) · 2.12 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
;; This file is NOT part of GNU Emacs
;; License
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
;; Floor, Boston, MA 02110-1301, USA.
;; UI tweaks
(menu-bar-mode 0)
(tool-bar-mode 0)
(scroll-bar-mode 0)
;; no blinking cursor
(blink-cursor-mode 0)
;; no init messages
(setq initial-scratch-message "")
(setq inhibit-startup-message t)
;; use a visual bell
(setq visible-bell t)
;; shorten yes/no Dialogs
;; type y or n instead of yes or no
;; in the minibuffer
(defalias 'yes-or-no-p 'y-or-n-p)
;; always load the newest byte code
(setq load-prefer-newer t)
;; hide pesky warnings (the lazy way of suppressing the pop-up debugger on init)
;; Emacspeak frequently has some byte code that isn't happy with the existing site-lisp
;; this will prevent it from being annoying at startup but,
;; it will still show the debugger in emergencies
(setq warning-minimum-level :emergency)
;; prefer utf-8 for both display and editing
(prefer-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-default buffer-file-coding-system 'utf-8-unix)
(set-default-coding-systems 'utf-8-unix)
(prefer-coding-system 'utf-8-unix)
(set-default buffer-file-coding-system 'utf-8-unix)
(use-package doom-themes
:ensure t
:config
(load-theme 'doom-vibrant t)
(doom-modeline-mode)
(doom-themes-org-config)
(doom-themes-neotree-config)
(doom-themes-treemacs-config)
(doom-themes-visual-bell-config))