vim command remove rest of line to the left code example
Example: vim delete rest of line
[D] - delete from cursor until end of the line and leave you in command mode.
[C] - delete from cursor until end of the line and leave you in insert mode.
[D] - delete from cursor until end of the line and leave you in command mode.
[C] - delete from cursor until end of the line and leave you in insert mode.