summary refs log tree commit diff
path: root/emacs.d/inits/00_defaults.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/inits/00_defaults.el')
-rw-r--r--emacs.d/inits/00_defaults.el25
1 files changed, 25 insertions, 0 deletions
diff --git a/emacs.d/inits/00_defaults.el b/emacs.d/inits/00_defaults.el
new file mode 100644
index 0000000..26ec0bb
--- /dev/null
+++ b/emacs.d/inits/00_defaults.el
@@ -0,0 +1,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)