commitmsg: better copy/paste behavior