Commit 27eb6a8f by Raniere Silva

Add flyspell

parent b7d0efff
......@@ -17,12 +17,12 @@
;;;; Global definitions
(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.
(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.
(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
......
;;;; Org mode
(add-hook 'org-mode 'flyspell) ; Enable flyspell
(setq org-log-done 'time)
(setq org-enforce-todo-dependencies t)
(setq org-agenda-include-diary t)
......
......@@ -13,7 +13,10 @@
(set-variable 'py-indent-offset 4)
(set-variable 'indent-tabs-mode nil))))
; Enable sphinx-doc
;;;; Sphinx-doc
(add-hook 'python-mode-hook (lambda ()
(require 'sphinx-doc)
(sphinx-doc-mode t)))
;;;; Flyspell for comments
(add-hook 'python-mode-hook 'flyspell-prog-mode) ; Enable flyspell
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