I'm noticing errant behaviour with some standard key sequences with Vim 8.1 on wsltty. The correct behaviour is displayed when inside wsltty's standard terminal, so until proven otherwise I'm assuming it's an issue on Vim's end.
- When I'm in insert mode and go to enter any uppercase letter by holding
Shift
and the relevent key, it maps to undo, i.e. performs the deletion/insertion and updates the status bar with a message like '1 line less; before #4; 1 second ago' - When I'm in insert mode and enter a forward slash, a new line is inserted above the current line with an 'o' at the beginning of it, e.g:
--BEFORE--
Some
words
are entered here█
--AFTER--
Some
words
o█
are entered here
My .vimrc
is here. I have no mappings to these key sequences. They work correctly in command-line mode, normal mode and inside gvim. I'm truly puzzled as to the cause of this odd behaviour.
<Esc>
mapping in insert mode; see How to debug my vimrc; (irrelevantly) you have some<expr>
maps that use?:
and the right-hand-side of the colon is not anexpr
(so you probably need to make it a string, like'Q'
, etc.)<Esc>
mapping worked like a charm! Thank you! How was this causing the problem?<Esc>
on Normal mode, but it's not too far from the issue at hand here... vi.stackexchange.com/q/2614/18609