commit ea26f6f6fc2e8f59dcb301562334627e7302863a
parent efb9c0ddbc30ee7b5e360c3527407e99480f13cc
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Wed, 20 Jun 2018 22:26:54 -0500
Change fill-column to 80.
Diffstat:
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/README.org b/README.org
@@ -45,6 +45,20 @@ sections.
* Aesthetics
Mostly aesthetics and quality of life changes.
+** 80 Character Limit
+Set =fill-column= to 80 characters.
+#+BEGIN_SRC emacs-lisp
+ (setq-default fill-column 80)
+#+END_SRC
+
+Highlight portions of line over 80 characters in =prog-mode=.
+#+BEGIN_SRC emacs-lisp
+ (require 'whitespace)
+ (setq whitespace-line-column 80)
+ (setq whitespace-style '(face empty tabs lines-tail trailing))
+ (add-hook 'prog-mode-hook 'whitespace-mode)
+#+END_SRC
+
** Color Themes
Install =base16-theme=.
#+BEGIN_SRC emacs-lisp
@@ -89,15 +103,6 @@ It would also help to change the default command for =emacs= into:
emacsclient -c -a emacs
#+END_SRC
-** Highlight Lines Over 80
-Highlight portions of line over 80 characters in =prog-mode=.
-#+BEGIN_SRC emacs-lisp
- (require 'whitespace)
- (setq whitespace-line-column 80)
- (setq whitespace-style '(face empty tabs lines-tail trailing))
- (add-hook 'prog-mode-hook 'whitespace-mode)
-#+END_SRC
-
** Line Highlighting
Enable line highlighting.
#+BEGIN_SRC emacs-lisp