Reply to post: vi for beginners

30-up: You know what? Those really weren't the days

John G Imrie Silver badge

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

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019