All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: git@vger.kernel.org
Subject: Re: commit message columns
Date: Mon, 22 Jan 2007 16:23:59 -0500	[thread overview]
Message-ID: <20070122212359.GC29975@spearce.org> (raw)
In-Reply-To: <20070122211902.GC6614@fieldses.org>

"J. Bruce Fields" <bfields@fieldses.org> wrote:
> Uh, I feel like I must be missing something simple here--when editing
> commit messages, you'd like the editor (vim in my case) to wrap text
> sooner than it normally would, since commit messages are displayed
> indented.  What's the easiest way to ensure this always happens?

<shameless-plug>
Use git-gui.  The message buffer window doesn't linewrap nor does
it scroll, so you learn to linewrap on your own.  :-)
</shameless-plug>

When I'm not in git-gui I use vile and have a macro in it to
pass the current paragraph of text through:

  fmt --crown-margin --width=70 --uniform-spacing

works reasonably well.

-- 
Shawn.

  parent reply	other threads:[~2007-01-22 21:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-22 21:19 commit message columns J. Bruce Fields
2007-01-22 21:23 ` Jimmy Tang
2007-01-22 21:44   ` J. Bruce Fields
2007-01-22 21:23 ` Shawn O. Pearce [this message]
2007-01-22 22:19 ` Matthias Lederhofer
2007-01-23  5:17   ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070122212359.GC29975@spearce.org \
    --to=spearce@spearce.org \
    --cc=bfields@fieldses.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.