summaryrefslogtreecommitdiff
path: root/lisp/appearance.el
blob: 51766a5cba36f13c1a6212e84c43072d86f4d0da (plain)
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
;;; appearance.el -*- lexical-binding: t; -*-
;;;
;;; Author:  Jakob L. Kreuze <zerodaysfordays@sdf.org>
;;; URL:     https://git.sr.ht/~jakob/.emacs.d/
;;;
;;; Configuration for making Emacs look pretty.
;;;

(require 'scroll-bar)
(require 'fringe)



;; Use soft wrapping instead of "scrolling" when overflowing the width of a frame.

(global-visual-line-mode t)

;; The menu bar can be accessed with <M-`> if I really need it, so I don't see
;; the point in having it take up the space at the top. The rest of these rarely
;; see use from me, and I'd prefer to disable them and have access to the extra
;; screen real estate.

(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(fringe-mode -1)

;; Hacking is a lot more serene when visual stimulus is kept to a minimum.

(blink-cursor-mode 0)

;; Enable `prettify-symbols' globally.

(global-prettify-symbols-mode t)

;; Choose a fallback with size comparible to Terminus so that we don't break
;; vterm.
(set-fontset-font "fontset-default" 'unicode (font-spec :size 10 :name "DejaVu Sans"))

© 2015 - 2026 Jakob L. Kreuze