Programs that put you into Vi, /should/ be calling $EDITOR, if $EDITOR is to to Vi(m), you should know how to use it.
Also, if you ^C in Vi, you get the message:
Type :quit<Enter> to exit VimAlso, if you ^C in Vi, you get the message:
Type :quit<Enter> to exit VimRemember what the difference between $VISUAL and $EDITOR was intended to be. There's a whole range of places in Unix where there was, and even still is, a distinction between a line editor and a full screen editor. Consider, for just one example, the ~v and ~e commands in BSD Mail.
Now enjoy the discussion at https://news.ycombinator.com/item?id=13113556 .