From 6b289457fb6cc55ff812e5293fa0a12d9935005a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 9 Aug 2020 17:23:02 +0100 Subject: ~moved auto fill mode hook --- Emacs/.config/emacs/config.org | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 7464934..fa419c4 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -60,12 +60,6 @@ Load my custom "Grayscale" theme (look at [[file:Grayscale-theme.el][this file]] #+BEGIN_SRC emacs-lisp (setq inhibit-startup-screen t) #+END_SRC -** Set auto-fill-mode for all text-modes -Auto fill mode is nice for most text modes, 80 char limit is great. - -#+BEGIN_SRC emacs-lisp -(add-hook 'text-mode-hook #'auto-fill-mode) -#+END_SRC * Emacs Mode-line Firstly, declare a variable for the number of spaces between each module in the modeline. @@ -763,6 +757,12 @@ corrections to real words) to use ivy. "M-A" #'flyspell-correct-at-point "M-a" #'ispell-word)) #+END_SRC +** Set auto-fill-mode for all text-modes +Auto fill mode is nice for most text modes, 80 char limit is great. + +#+BEGIN_SRC emacs-lisp +(add-hook 'text-mode-hook #'auto-fill-mode) +#+END_SRC * Org ** Org default with evil Setup for org mode, currently basically nothing. Has evil-org for -- cgit v1.2.3-13-gbd6f