From ed0013b3808dcc12510bcd4e151a973af9c9e585 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 31 Jul 2016 20:47:11 -0700 Subject: [emacs] move around global settings. Closes #10 --- emacs.d/init.el | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index bb3c31e..fc81d5b 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -51,40 +51,38 @@ ;; reload the buffer when a file changes (global-auto-revert-mode 1) +;; global settings for built-in emacs parameters (setq auto-save-default nil auto-save-list-file-prefix nil + inhibit-startup-screen t + initial-scratch-message nil make-backup-files nil require-final-newline t vc-follow-symlinks t next-screen-context-lines 5 + column-number-mode t + ring-bell-function 'ignore tab-always-indent 'complete) +;; Set default font +(set-face-attribute 'default nil :family "Droid Sans Mono" :height 130 :weight 'normal :width 'normal) + ;; turn off indent tabs (setq-default indent-tabs-mode nil) ;; highlight current line -(global-hl-line-mode 1) -;; Set default font -(set-face-attribute 'default nil :family "Droid Sans Mono" :height 130 :weight 'normal :width 'normal) - +(global-hl-line-mode 1) ;; no menu (menu-bar-mode -1) ;; show parenthesis (show-paren-mode +1) -;; no startup screen -(setq inhibit-startup-message t) -(setq initial-scratch-message "") - ;; no blink cursor (blink-cursor-mode -1) -;; show the column number in the mode-line -(setq column-number-mode t) - (when window-system (tool-bar-mode 0) ;;hide tool-bar (scroll-bar-mode 0) ;;hide scroll-bar -- cgit 1.4.1