vim: track connection state so we can warn if we find any failures.
vim: possibly auto-indent after `o` or `O` in normal mode.