esc + : + q
To quit without saving
To save and quit vi editor
To quit the vi editor
To find the next occurance of the letter 'q'