In my vimrc I have a shortcut for opening a vertical split:
let mapleader = ',' map <leader>v :vsplit<CR> " ,v for vsplit map <leader>s :split<CR> " ,s for split
This has been working fine for months, but recently it's started misbehaving: almost every time I try to split the window, it does split but then changes a load of text at the cursor and leaves itself in insert mode.
Here's an example:
All that I did was hit
,v which has been working fine until recently. I can't work out why this is happening now. My vim version is 7.4.2109.
(This doesn't happen if I just use