-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.el
51 lines (36 loc) · 1.41 KB
/
config.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
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
(setq user-full-name "Mori Zen"
user-mail-address "[email protected]")
(setq doom-font (font-spec :size 20)
doom-symbol-font (font-spec :size 20)
doom-big-font (font-spec :size 30)
doom-serif-font (font-spec :size 20)
doom-variable-pitch-font (font-spec :size 20))
(setq doom-theme 'doom-oxocarbon-dark)
(setq display-line-numbers-type 'relative)
(setq org-directory "~/notes/")
(setq default-input-method "japanese"
scroll-margin 5
kill-whole-line t
confirm-kill-emacs nil)
(global-visual-line-mode +1)
(global-subword-mode +1)
(setq fancy-splash-image (concat doom-user-dir "kobeni.jpg"))
(setq +doom-dashboard-functions '(doom-dashboard-widget-banner doom-dashboard-widget-loaded))
(add-to-list 'default-frame-alist '(inhibit-double-buffering . t))
(after! evil
(setq evil-split-window-below t
evil-vsplit-window-right t
evil-ex-substitute-global t
evil-kill-on-visual-paste nil
evil-mode-line-format nil))
(after! which-key
(setq which-key-idle-delay 0.2
which-key-idle-secondary-delay 0.05))
(after! spell-fu
(setq spell-fu-idle-delay 1))
(set-frame-parameter (selected-frame) 'alpha-background 80)
(add-to-list 'default-frame-alist '(alpha-background . 80))
(defadvice! prompt-for-buffer (&rest _)
:after '(evil-window-split evil-window-vsplit window-split)
(consult-buffer))