summary refs log tree commit diff
path: root/emacs.d/inits/00_defaults.el
blob: 26ec0bb2c3d0669d9b1842f1f67aaa1faed8c5d3 (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
;; alias yes-or-no to y-or-n
(fset 'yes-or-no-p 'y-or-n-p)

;; set utf-8 as the default encoding
(prefer-coding-system 'utf-8-unix)

(setq auto-save-default nil)

(setq auto-save-list-file-prefix nil)

;; *no* backups
(setq make-backup-files nil)

;; always add a newline
(setq require-final-newline t)

;; follow symlinks
(setq vc-follow-symlinks t)

;; navigation
(setq next-screen-context-lines 5)

(setq tab-always-indent 'complete)

(global-auto-revert-mode 1)