diff --git a/settings/general-settings.el b/settings/general-settings.el index c398bba6..04a7f8f6 100644 --- a/settings/general-settings.el +++ b/settings/general-settings.el @@ -188,6 +188,13 @@ with a drive letter and a colon.") ;; truncate lines even in partial-width windows ;;(setq truncate-partial-width-windows t) +(use-package so-long + :config + ;;(add-to-list 'so-long-target-modes 'mhtml-mode t) + (setq so-long-max-lines nil) ;; by default only 5 non-blank lines are tested + (setq so-long-action 'so-long-minor-mode) ;; so-long-mode + (global-so-long-mode 1)) + ;; display line numbers to the right of the window ;; (global-linum-mode t) ;; deactivated because the DocView showing pdf files becomes extremly slow when global-linum-mode is on.