On So, 04 Jun 2017, Kaartic Sivaraam wrote:

> Hello all,
> 
> I am currently using Vim 8.0. When I use vim as my preferred editor for
> git. 
> 
> When I try to commit a change in git it open up vim to type the commit
> message. Most of the time the text cursor seems to be positioned
> somewhere in the middle of the commit template (the comments). As a
> result, I am unable to type in the commit message directly after
> switching to "insert" mode in vim. Any reasons for this misbehaviour ?
> 
> Environments:
> Operating System: Debian GNU/Linux 9 (stretch)
> Shell: bash

It could be, that your system sources defaults.vim which sets up the 
last-position-jump (see :h last-position-jump) autocommand.

Read :h defaults.vim how to prevent loading it (it is usually only 
loaded, when no vimrc has been found)

Best,
Christian
-- 
In jedem Falle wird bei gleicher Anlage das falsche Vertrauen auf
Talente mehr hervorbringen als das falsche Mißtrauen in sie; jenes
spannt, dieses lähmt.
                -- Jean Paul

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to