changeset 28:0cdfdab43907

`Hgcommit` now puts the cursor at the beginning of the commit message.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 20 Dec 2011 16:15:11 -0800
parents 09115be355e2
children 1ce59d5aa5e9
files plugin/lawrencium.vim
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.