Commit d7c419eb482f
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -42,6 +42,21 @@
(global-hl-line-mode 1)
#+end_src
+Depending on the files opened and the syntax highlighting enabled, ~font-lock-mode~
+can be slow, we try to limit that, to keep Emacs reactive.
+
+#+begin_src emacs-lisp
+(setq font-lock-maximum-decoration 2)
+#+end_src
+
+**** Fonts
+
+#+begin_src emacs-lisp
+(set-default-font "Ubuntu Mono-12")
+(set-frame-font "Ubuntu Mono-12")
+(set-face-attribute 'default nil :family "Ubuntu Mono" :height 110)
+#+end_src
+
**** Themes
First let's install the theme...
@@ -68,6 +83,16 @@
#+end_src
*** Behaviour
+**** Encoding
+
+Make sur that we use ~utf-8~ by default.
+
+#+begin_src emacs-lisp
+(prefer-coding-system 'utf-8)
+(setq file-name-coding-system 'utf-8)
+(setq locale-coding-system 'utf-8)
+#+end_src
+
**** Mouse
Move the mouse away to not bother.