You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this mapping in my vimrc: inoremap <C-G> <Esc> which seems to be causing a bug with incsearch.
So, with that mapping, here's how to reproduce this error:
Mark origin point mm
Record to a register qq
Search for any valid word /foo
Enter insert or replace mode in any way, i or c or R, etc
Enter any text bar
Exit insert mode via <C-g> (or any user-mapped <Esc> equivalent)
End recording q
Undo all changes u
Go back to start `m
Play back recording @q
When playing back the recording, it adds the text (_incsearch-hlsearch) while in insert mode, thus breaking the recording. This doesn't happen with regular <Esc> or <C-[>
The text was updated successfully, but these errors were encountered:
I have this mapping in my vimrc:
inoremap <C-G> <Esc>
which seems to be causing a bug with incsearch.So, with that mapping, here's how to reproduce this error:
mm
qq
/foo
i
orc
orR
, etcbar
<C-g>
(or any user-mapped<Esc>
equivalent)q
u
`m
@q
When playing back the recording, it adds the text
(_incsearch-hlsearch)
while in insert mode, thus breaking the recording. This doesn't happen with regular<Esc>
or<C-[>
The text was updated successfully, but these errors were encountered: