about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-27 20:09:50 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-09-27 20:09:50 +0700
commit9cef11d0147e1c66c3145962a0ae1b88b511ffb3 (patch)
tree883c39591a05a73c25601b6d7889ddaa5b2d83d7 /emacs
parent6b9a1b1a3de10899b87a8a2c6e4074341d29cd02 (diff)
downloaddotfiles-9cef11d0147e1c66c3145962a0ae1b88b511ffb3.tar.gz
Update 2019-09-27
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index cfa0d7b..1b461b7 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -24,14 +24,12 @@
  '(ac-auto-start nil)
  '(ac-expand-on-auto-complete nil)
  '(ac-trigger-key "M-RET")
- '(ansi-color-names-vector
-   ["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
  '(column-number-mode t)
- '(custom-enabled-themes (quote (tango)))
  '(erc-nick "cnx")
  '(package-selected-packages
    (quote
-    (glsl-mode perl6-mode fireplace lua-mode markdown-mode smart-tabs-mode auctex wordnut magit geiser slime pdf-tools)))
+    (glsl-mode perl6-mode fireplace lua-mode markdown-mode smart-tabs-mode
+     auctex wordnut magit geiser slime pdf-tools)))
  '(safe-local-variable-values (quote ((Syntax . Common-Lisp))))
  '(scroll-bar-mode nil)
  '(show-paren-mode t)
@@ -50,6 +48,7 @@
 (savehist-mode 1)
 (setq-default inhibit-splash-screen t)
 (find-file-noselect "/usr/share/dict/words")
+(when (fboundp 'electric-indent-mode) (electric-indent-mode -1))
 (setq-default fill-column 79)
 (add-hook 'prog-mode-hook 'ruler-mode)
 (setq-default indent-tabs-mode nil)
@@ -60,6 +59,7 @@
 (smart-tabs-insinuate 'c)
 (setq c-default-style "linux")
 (add-hook 'python-mode-hook (lambda () (setq comment-fill-column 72)))
+(add-hook 'LaTeX-mode-hook 'prettify-symbols-mode)
 (add-hook 'pdf-tools-enabled-hook 'auto-revert-mode)
 
 (when window-system (set-frame-size (selected-frame) 80 25))