vimdojo
Normal Mode
s

Substitute char (delete + INSERT)

s → replace one char
~/vimdojo/greet.py
PYTHON · UTF-8 · LF
1
2
3
4
def greet(name):
msg = "hello, " + name
print(msg)
return msg
NORMAL
main
python
Ln 2, Col 5
-- NORMAL --
Free practice — click the editor, then type. Try s yourself.