I assume somebody thought this was funny?
If you do the first example, won't that lead to a .swp file still being present, then a warning next time you start vim?
<lobbing hand grenade>
Modal editing is fundamentally-insane UX.
Handy reference. I typically use a variant of "the suspend way," but I might try "the canonical way" one day.
out-of-band way:
echo "cd /system1/pwrmgtsvc1; reset" | ssh -T ADMIN@<BMC-IP>
Bravo. Plus makes for an excellent demonstration of the flexibility of unix
My go-to:
`Ctrl-Z, kill -9 %1`
Walk over to that one guy's desk at the office, you know the one. Ask for his help. Then you just have to wait through about 5 minutes of "Modal editors are very simple once you know how they work! A command is composed of..." and after that he'll tell you what keys to press.