Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
;; Activate column indicator in prog-mode and text-mode (add-hook 'prog-mode-hook 'turn-on-fci-mode) (add-hook 'text-mode-hook 'turn-on-fci-mode)
You can also press
(setq-default fill-column 100)
Googled this up, and @StreakyCobra's answer is exactly what I was looking for.
(defun fill-column-100 () (set-fill-column 100)) ;; later, in user-init (add-hook 'prog-mode-hook 'fill-column-100) (add-hook 'text-mode-hook 'fill-column-100)