blob: 2d96210a2077da9e522609e28eaec34db298d83c (
plain) (
blame)
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
|
;;; UI customization ;;;
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(setq-default truncate-lines t)
;; <102 or >109 will make Ioveska look squished rather than tall,
;; narrow, and beautiful.
(set-face-attribute 'default nil :height 104)
;;; Major modes ;;;
(add-to-list 'auto-mode-alist (cons "\\.adoc\\'" 'adoc-mode))
;;; Filesystem locations ;;;
(setq user-emacs-directory
(concat (file-name-as-directory (getenv "XDG_DATA_HOME")) "emacs"))
;;; ispell ;;;
;; System locale is Esperanto, but I write in English much more, and
;; spelling in Esperanto is easy anyway. ;)
(setq ispell-dictionary "english")
;;; Magit ;;;
(setq magit-delete-by-moving-to-trash delete-by-moving-to-trash)
;;; Rust ;;;
(add-hook 'rust-mode-hook (lambda () (setq indent-tabs-mode nil)))
|