In my vimrc I have a shortcut for opening a vertical split:let mapleader = ','map <leader>v :vsplit<CR>  ,v for vsplitmap <leader>s :split<CR>   ,s for splitThis 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:before split: const queryValidationafter split: plit,                   nAll 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 :vsplit)
Vertical split keymap suddenly broken
key bindings;split
You should not use end-of-line comments, in particular for mappings. See :h comment. Also, I suggest that you use nnoremap instead of simply map. Thus, you should use:nnoremap <leader>v :vsplit<CR>nnoremap <leader>s :split<CR>