Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing git commit message, yo

  • Loading branch information...
commit 109444e7ce2a4fa5470755d797042b58853538b3 1 parent 5d41cd9
@csexton authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  plugin/mappings.vim
View
2  plugin/mappings.vim
@@ -88,3 +88,5 @@ endif
" Jump to the last posistion in the buffer
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
+" Jump back to the top on git commit messages
+autocmd BufReadPost COMMIT_EDITMSG exe "normal! gg"
Please sign in to comment.
Something went wrong with that request. Please try again.