-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase-theme.el
94 lines (74 loc) · 2.85 KB
/
base-theme.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
;; A utility package to collect various Icon Fonts and propertize them within Emacs.
;; https://github.com/domtronn/all-the-icons.el
(use-package all-the-icons)
;; This projects aims to become an aesthetic, functional and efficient tabs plugin for
;; Emacs with a lot of customization options.
;; https://github.com/ema2159/centaur-tabs
(use-package centaur-tabs
:demand
:config
(centaur-tabs-mode t)
(setq centaur-tabs-style "rounded")
(setq centaur-tabs-set-icons t)
(setq centaur-tabs-height 32)
:bind
("C-<prior>" . centaur-tabs-backward)
("C-<next>" . centaur-tabs-forward))
;; A fancy and fast mode-line inspired by minimalism design.
;; https://github.com/seagle0128/doom-modeline
(use-package doom-modeline
:init
(doom-modeline-mode 1)
:config
(setq doom-modeline-height 35)
(setq doom-modeline-bar-width 1))
;; Kaolin is a set of eye pleasing themes for GNU Emacs with support for a large
;; number of modes and external packages.
;; https://github.com/ogdenwebb/emacs-kaolin-themes
(use-package kaolin-themes
:config
(load-theme 'kaolin-shiva t)
(kaolin-treemacs-theme))
;; Font settings
(set-frame-font "IBM Plex Mono 13" t)
;; Set Window/frame height and width
(if (window-system)
(progn
(set-frame-height (selected-frame) 35)
(set-frame-width (selected-frame) 120)))
;; Enable global visual-line-mode
(global-visual-line-mode t)
;; Turn on hl-line
(global-hl-line-mode 1)
;; Enable line numbers
(global-display-line-numbers-mode 1)
;; Disable toolbar & menubar
(menu-bar-mode -1)
;; Disable the display of tool bars
(tool-bar-mode -1)
;; Disable the display of scroll bars
(scroll-bar-mode -1)
;; show-paren-mode allows one to see matching pairs of parentheses and other characters.
;; When point is on the opening character of one of the paired characters, the other is
;; highlighted. When the point is after the closing character of one of the paired
;; characters, the other is highlighted.
(show-paren-mode 1)
;; disable splash screen
(setq inhibit-startup-message t)
;; The fringes normally appear between the display margins and the window text. If the
;; value is non-nil, they appear outside the display margins.
;;(setq fringes-outside-margins t)
;; Remove fringes left and right
(set-fringe-mode 5)
;; Emacs 24.4 ships with a new minor mode called prettify-symbols-mode. Its purpose
;; is to replace the standard text representation of various identifiers/symbols with
;; a (arguably) more aesthetically pleasing representation (often a single unicode
;; character would replace several ascii characters).
(global-prettify-symbols-mode +1)
;; To keep syntax highlighting in the current line
(set-face-foreground 'highlight nil)
;; Set cursor color to bright yellow
(set-cursor-color "#FEFF00")
;; Modify region background and text color
(set-face-attribute 'region nil :background "#FBFFC8")
(provide 'base-theme)