Sunday, October 26, 2014

How to set line wrap and fill prefix in Emacs

;;line wrap                                                    
(setq-default fill-column 80)
(global-visual-line-mode 1)     ; 1 for on, 0 for off.

(setq-default fill-prefix " ")

This is especially useful when you write latex document.

No comments:

Post a Comment