diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 20:47:11 -0700 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 20:47:11 -0700 |
commit | ed0013b3808dcc12510bcd4e151a973af9c9e585 (patch) | |
tree | d9b49c2db92443efe6ee3beea68b247016ba707a | |
parent | [emacs] add package gist for emacs. (diff) | |
download | emacs.d-ed0013b3808dcc12510bcd4e151a973af9c9e585.tar.gz |
[emacs] move around global settings.
Closes #10
Diffstat (limited to '')
-rw-r--r-- | emacs.d/init.el | 20 |
1 files 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 |