diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2015-08-23 19:00:50 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2015-08-23 19:00:50 +0200 |
commit | 61cb8fef4896bf8d1f0d180d190247f5ecae904e (patch) | |
tree | 4f386b104c105cac7d092d8842254bfe41422120 /roles/common | |
parent | 38580a37d1ecadffa4ec15fb27fcdc1e28f5be2e (diff) | |
download | playbooks-ansible-61cb8fef4896bf8d1f0d180d190247f5ecae904e.tar.gz playbooks-ansible-61cb8fef4896bf8d1f0d180d190247f5ecae904e.tar.xz playbooks-ansible-61cb8fef4896bf8d1f0d180d190247f5ecae904e.zip |
Update emacs conf file
Diffstat (limited to 'roles/common')
-rw-r--r-- | roles/common/files/emacs.rc | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/roles/common/files/emacs.rc b/roles/common/files/emacs.rc index 29cc4fb..70078dc 100644 --- a/roles/common/files/emacs.rc +++ b/roles/common/files/emacs.rc @@ -2,16 +2,32 @@ (custom-set-variables ;; uncomment to always end a file with a newline - ;'(require-final-newline t) + '(require-final-newline t) ;; uncomment to disable loading of "default.el" at startup - ;'(inhibit-default-init t) + '(inhibit-default-init t) ;; default to unified diffs '(diff-switches "-u")) ;;; uncomment for CJK utf-8 support for non-Asian users ;; (require 'un-define) (menu-bar-mode 0) +(display-battery-mode 1) ;; pour mutt: -(server-start) +;(server-start) (add-to-list 'auto-mode-alist '("/mutt" . mail-mode)) + +;; Tabs is Evil +(setq-default indent-tabs-mode nil) +(setq-default tab-width 4) +(setq indent-line-function 'insert-tab) + +;; Rend visible les tabs +;;(standard-display-ascii ?\t "^I") + +;; Draw tabs with the same color as trailing whitespace +(add-hook 'font-lock-mode-hook + (lambda () + (font-lock-add-keywords + nil + '(("\t" 0 'trailing-whitespace prepend))))) |