From: Matthias Lederhofer Date: Mon, 22 Jan 2007 22:19:27 GMT Subject: Re: commit message columns Message-ID: <20070122221927.GA3746@moooo.ath.cx> In-Reply-To: <20070122211902.GC6614@fieldses.org> J. Bruce Fields 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? You could add this to your .vimrc: > autocmd BufNewFile,BufRead .git/COMMIT_EDITMSG setlocal tw=60 ft=human Has anyone a good filetype for this?