For a second there, I thought that when entering readline
vi
mode, it doesn’t put you in insertion mode, but command
instead.
It’s actually another bug in nomad where an ESC-Z is sent to the program in error after switching out of nomad’s movement mode.
Terminals are a mine field. Oh well, this is easy enough to fix anyway.