summary refs log tree commit diff
path: root/emacs.d/core/core-default.el
blob: a3076eb61c6742c1a0c7fe0f46693cd3f93ba607 (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
28
29
;; 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)

(setq-default indent-tabs-mode nil)

(provide 'core-default)