Input something when prompted (note that you have to go into insert mode).
At the last prompt stay in insert mode right before submitting.
After submitting press ESC to deactivate insert mode, this will cause the error "Not in update transaction".
Alternatively:
Run :e some-directory-name.
Move your cursor to a line that lists a file that is in that directory.
Activate insert mode with i.
Press ENTER to open the file.
Deactivate insert mode with ESC, this will cause the error "Not in update transaction".
This has to do with the fact that the insert mode is activated in a different buffer than where it was deactivated.
To fix this the keymap state can be reset when switching buffers, or the update transaction can be ended when leaving a buffer and restarted when entering a buffer in insert mode.
To reproduce:
:yi
command, for example:yi atBoundaryB
.ESC
to deactivate insert mode, this will cause the error "Not in update transaction".Alternatively:
:e some-directory-name
.i
.ENTER
to open the file.ESC
, this will cause the error "Not in update transaction".This has to do with the fact that the insert mode is activated in a different buffer than where it was deactivated.
To fix this the keymap state can be reset when switching buffers, or the update transaction can be ended when leaving a buffer and restarted when entering a buffer in insert mode.