summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home/dots/.emacs12
1 files changed, 12 insertions, 0 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs
index f3d4167..c56c028 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -135,6 +135,12 @@
(use-package emacs
:init
+ (set-language-environment 'utf-8)
+ (set-terminal-coding-system 'utf-8)
+ (set-keyboard-coding-system 'utf-8)
+ (set-selection-coding-system 'utf-8)
+ (prefer-coding-system 'utf-8)
+
(fset 'yes-or-no-p 'y-or-n-p)
(menu-bar-mode -1)
(tool-bar-mode -1)
@@ -150,6 +156,8 @@
(line-spacing . 0.5)))
(undo-limit 10000000)
(undo-outer-limit 20000000)
+ (locale-coding-system 'utf-8)
+ (buffer-file-coding-system 'utf-8-unix)
(create-lockfiles nil)
(idle-update-delay 1.0)
(custom-safe-themes
@@ -189,6 +197,10 @@
(window-resize-pixelwise nil)
(resize-mini-windows 'grow-only)
(fast-but-imprecise-scrolling t)
+ (scroll-step 1)
+ (scroll-conservatively 100000)
+ (scroll-preserve-screen-position 1)
+ (scroll-margin 0)
(blink-cursor-mode -1)
(x-stretch-cursor t)
(tab-always-indent 'complete)