Use help buffers in commit and merge scripts.
authorIain Patterson <me@iain.cx>
Thu, 6 Feb 2014 13:27:42 +0000 (13:27 +0000)
committerIain Patterson <me@iain.cx>
Mon, 10 Feb 2014 17:07:00 +0000 (17:07 +0000)
commitf91d0548dbdf839818a7645e855ff3e9f5e9252c
treee854ad46af7954ae852392b3712f90c153c08d79
parent98592e64feb55698872bc6acc4c1483b78520b91
Use help buffers in commit and merge scripts.

The previous attempt to override Vim 7.4's window closing paranoia
didn't work that well.  Closing the scratch buffer would result in
the commit message window being lost without saving changes.

The latest scheme is to mark the scratch buffer as a help buffer,
despite the documentation saying we aren't supposed to do that.
The result is that it will automatically be closed when it's the
last buffer standing, which is very close to what we want.
.vim/script/merge
.vim/script/p4
.vim/script/svn