vlead / vlead-onboarding

Other
0 stars 1 forks source link

set column width in emacs to 60 #2

Open travula opened 6 years ago

travula commented 6 years ago

@vlead/vlead-staff

At vlead, the default column width for all the documents we wrtite is 60.

This is ensured by inserting the below line in .emacs.

(setq-default fill-column 60)

When writing a document in emacs, by typing alt-q, the text is aligned within 60 columns.

travula commented 6 years ago

;; Add Autofill mode to mode hooks while in org and text modes (add-hook 'text-mode-hook 'turn-on-auto-fill) (add-hook 'org-mode-hook 'turn-on-auto-fill)