-
Currently, there is a
This option limits the length of the first commit line. It would be great to see an option that allows you to set the maximum width for the rest of the commit text (usually the limit for the first line is 50 characters and 72 for the rest). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I found that I can use |
Beta Was this translation helpful? Give feedback.
-
That is known as To display the column specified by that variable, use: (use-package display-fill-column-indicator
:when (>= emacs-major-version 28)
:config
(add-hook 'git-commit-setup-hook
(lambda ()
(setq fill-column 72) ; was 70
(display-fill-column-indicator-mode 1)))) That won't highlight the overflowing characters, instead it draws an indicator at column 72. Use |
Beta Was this translation helpful? Give feedback.
That is known as
fill-column
across Emacs.To display the column specified by that variable, use:
That won't highlight the overflowing characters, instead it draws an indicator at column 72.
Use
M-q
(fill-paragraph
) to perform semi-automatic filling.