vimdojo
Normal Mode
D

Delete to end of line

D = d$
~/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 D yourself.