-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not clear how to show a right margin line. #4856
Comments
Also Don't forget to close the issue |
Yes, ;; 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) in your |
Is there a way to make the line color more subtle for fci-mode? |
@amichail |
I got it working! Thanks! |
Googled this up, and @StreakyCobra's answer is exactly what I was looking for. Weirdly, (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) |
I would like to limit most lines of code to 100 characters.
Is there a recommended package for making this easy to do by showing a right margin line? If so, maybe it should be mentioned in the documentation?
The text was updated successfully, but these errors were encountered: