about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-04-12 21:15:03 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-04-12 21:15:03 +0700
commit200b2343dd47b0f4b8cef1e917f1a9dab216ea88 (patch)
treece9a2ef4a72fcd0320688211eb3b500166f61d74 /emacs
parentc44d937f2c6a6a077da17d9fb73de6cae6075169 (diff)
downloaddotfiles-200b2343dd47b0f4b8cef1e917f1a9dab216ea88.tar.gz
Update 2018-04-12
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el22
1 files changed, 18 insertions, 4 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index a493d7c..19c356d 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -13,16 +13,30 @@
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(ansi-color-names-vector
-   ["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
- '(blink-cursor-mode nil)
+   ["#2e3436" "#a40000" "#4e9a06" "#c4a000"
+    "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
  '(column-number-mode t)
  '(custom-enabled-themes (quote (tango)))
  '(scroll-bar-mode nil)
  '(show-paren-mode t)
- '(tool-bar-mode nil))
+ '(tool-bar-mode nil)
+ '(whitespace-style
+   (quote (face trailing spaces newline space-mark newline-mark))))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
- '(default ((t (:family "Space Mono" :foundry "CF  " :slant normal :weight normal :height 98 :width normal)))))
+ '(default ((t (:family "Space Mono"
+                        :foundry "CF  "
+                        :slant normal
+                        :weight normal
+                        :height 98
+                        :width normal))))
+ '(whitespace-space ((t (:foreground "gray")))))
+
+(setq-default indent-tabs-mode nil)
+(add-hook 'find-file-hook 'whitespace-mode)
+(add-hook 'find-file-hook 'ruler-mode)
+
+(setq inhibit-splash-screen t)