--- a/.hgeditor Fri Oct 04 23:33:02 2013 +0900
+++ b/.hgeditor Fri Oct 04 23:37:03 2013 +0900
MD5=$(which md5 2>/dev/null)
[ -x "${MD5}" ] && CHECKSUM=`${MD5} "$HGTMP/msg"`
if [ -s "$HGTMP/diff" ]; then
- $EDITOR "$HGTMP/msg" "$HGTMP/diff" || exit $?
+ vim "+e $HGTMP/diff" '+set buftype=help filetype=diff' "+vsplit $HGTMP/msg" || exit $?
$EDITOR "$HGTMP/msg" || exit $?