forked from magnars/.emacs.d
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appearance.el
48 lines (35 loc) · 1.14 KB
/
appearance.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
(setq visible-bell t
font-lock-maximum-decoration t
color-theme-is-global t
truncate-partial-width-windows nil)
(set-face-background 'region "#464740")
;; Highlight current line
(global-hl-line-mode 1)
;; Customize background color of lighlighted line
(set-face-background 'hl-line "#222222")
;; Highlight in yasnippet
(set-face-background 'yas/field-highlight-face "#333399")
(set-face-foreground 'font-lock-warning-face "#ff6666")
;; org-mode colors
(setq org-todo-keyword-faces
'(
("INPR" . (:foreground "yellow" :weight bold))
("DONE" . (:foreground "green" :weight bold))
("IMPEDED" . (:foreground "red" :weight bold))
))
;; Highlight matching parentheses when the point is on them.
(show-paren-mode 1)
;; No menu bars
(menu-bar-mode -1)
(when window-system
(setq frame-title-format '(buffer-file-name "%f" ("%b")))
(turn-off-tool-bar)
(tooltip-mode -1)
(turn-off-tool-bar)
(blink-cursor-mode -1))
(add-hook 'before-make-frame-hook 'turn-off-tool-bar)
;; Ditch them scrollbars
(scroll-bar-mode -1)
;; Make zooming affect frame instead of buffers
(require 'zoom-frm)
(provide 'appearance)