Commit b7d0efff by Raniere Silva

More global definitions

parent caccc08a
......@@ -16,9 +16,13 @@
(load custom-file)
;;;; Global definitions
(setq-default major-mode 'text-mode) ; Set default mode to plain text
(line-number-mode 1) ; Show line number in the mode line.
(column-number-mode 1) ; Show column number in the mode line.
(add-hook 'text-mode-hook 'flyspell-mode) ; Enable Flyspell for text-based major modes
(column-number-mode 't) ; Show column number in the mode line.
(line-number-mode 't) ; Show line number in the mode line.
(setq-default major-mode 'text-mode) ; Set default mode to plain text.
(linum-mode 't) ; Enable line number on the left.
(auto-save-mode 't) ; Enable auto save.
(visual-line-mode 't) ; Enable line wrap.
;;;; GUI
(tool-bar-mode -1) ; Remove tool bar
......@@ -30,7 +34,6 @@
(setq user-mail-address "raniere@rgaiacs.com") ; Set email address
;;;; Typing
(setq-default indent-tabs-mode nil) ; No tabs
(add-hook 'text-mode-hook 'turn-on-auto-fill) ; Lines are broken automatically when they become too wide.
(setq-default fill-column 79) ; Set the number to the number of columns to use.
(add-hook 'text-mode-hook 'turn-on-auto-fill) ; Add Autofill mode to mode hooks.
(setq-default indent-tabs-mode nil) ; No tabs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment