summary refs log tree commit diff
path: root/emacs.d/inits/00_emacs.el
blob: 3ab8798b470376789474979227b8d2db7eb6d615 (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
30
;; 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)

(setq tab-always-indent 'complete)

(use-package exec-path-from-shell
  :ensure t
  :config
  (exec-path-from-shell-initialize))

(use-package server
  :config
  (unless (server-running-p)
    (server-start)))