diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-10-29 18:47:17 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-10-29 19:03:53 -0400 |
commit | 71d8637f8e80dde06500c59b68b91a6298f12291 (patch) | |
tree | 514895c3687792e7886799ea76b99472212c3cff /vim | |
parent | 69fa66b3b5c5855881b11c706fe395fe56aa8f38 (diff) | |
download | conf-71d8637f8e80dde06500c59b68b91a6298f12291.tar.gz conf-71d8637f8e80dde06500c59b68b91a6298f12291.zip |
automatically start in insert mode for gitcommit messages
Diffstat (limited to 'vim')
-rw-r--r-- | vim/ftplugin/gitcommit.vim | 4 |
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 |