To substitute one or more characters for the character under the cursor, type s, followed by the new text. Press Esc to return to command mode.