vi question

hello! i am very new to this, so please bear with me. i used red hat linux to creat a little two page website for school, which was really just an exercise in absolute and relative paths.

so, now, its all done, and i want to play with it some more, but i think there may be a problem with vi. i want to add a photograph is all, and so this is what happened::

$vi index.html opened vi for that page, so i input the html for the photo i want to use, and hit esc, w, q, which, as far as i know should have exited insert mode, written(saved) the input, and then quit. well, it did exit insert mode, but all that happened to my vi session was that the word "recording" appeared where the word "insert" had previously been, and will not go away. can it really be recording for ten minutes???:rolleyes: so, the only way i can exit vi is by quitting putty altogether.

am i missing something, or does anyone know what is going wrong? thanks!!!

use esc then ":wq"

here is a useful cheat sheet:

esc q - recording mode
esc :q - quit

oh, COLON, w, q? ok. i have that information, but for some reason, i thought the colon was not to be input. thank you. i'll try that.

nice!!! thank you so much!!!