summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/ftplugin/gitcommit.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/ftplugin/gitcommit.vim b/vim/ftplugin/gitcommit.vim
index 758db96..4c25752 100644
--- a/vim/ftplugin/gitcommit.vim
+++ b/vim/ftplugin/gitcommit.vim
@@ -1 +1,5 @@
setlocal viminfo=
+augroup local_gitcommit
+ autocmd!
+ autocmd BufWinEnter <buffer> exe "normal! ggO" | startinsert
+augroup END