# HG changeset patch # User Ludovic Chabant # Date 1324426511 28800 # Node ID 0cdfdab43907a76f444bcee2cc9ca95b9e5c1596 # Parent 09115be355e2343e9e36431388b55e36cab76085 `Hgcommit` now puts the cursor at the beginning of the commit message. diff -r 09115be355e2 -r 0cdfdab43907 plugin/lawrencium.vim --- a/plugin/lawrencium.vim Tue Dec 20 16:11:35 2011 -0800 +++ b/plugin/lawrencium.vim Tue Dec 20 16:15:11 2011 -0800 @@ -621,6 +621,7 @@ execute l:split . ' ' . l:commit_path call append(0, ['', '']) call append(2, split(s:HgCommit_GenerateMessage(l:repo), '\n')) + call cursor(1, 1) " Setup the auto-command that will actually commit on write/exit, " and make the buffer delete itself on exit.