vi for beginners
$ vi filename
<start typing stuff, then notice that I didn't enable insert mode until the first 'i' in the stuff>
:e!
i
<start typing...>
:e! reloads the file
$ vi filename
<start typing stuff, then notice that I didn't enable insert mode until the first 'i' in the stuff>
:e!
i
<start typing...>
:e! reloads the file