 -    au!
 -
 -    " When editing a file, always jump to the last known cursor position.
--    " Don't do it when the position is invalid or when inside an event handler
--    " (happens when dropping a file on gvim).
+-    " Don't do it when the position is invalid, when inside an event handler
+-    " (happens when dropping a file on gvim) and for a commit message (it's
+-    " likely a different one than last time).
 -    autocmd BufReadPost *
--      \ if line("'\"") >= 1 && line("'\"") <= line("$") |
--      \   exe "normal! g`\"" |
--      \ endif
+-      \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit'
+-      \ |   exe "normal! g`\""
+-      \ | endif
 -
 -  augroup END
 -

 
 " Switch syntax highlighting on when the terminal has colors or when using the
 " GUI (which always has colors).
@@ -90,22 +95,6 @@ if has("autocmd")
   " Also load indent files, to automatically do language-dependent indenting.
   " Revert with ":filetype off".
   filetype plugin indent on

From 863924c83be97fea7a721892e81f82f5331f72fa Mon Sep 17 00:00:00 2001
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Mon, 3 Apr 2017 22:58:39 -0400
Subject: [PATCH] vim: Make text mode editing Great again.
