Delete to the end of the current line
Delete to the end of the current line, but keep the character under the cursor.
Start file
just to remove all text after; // this is a comment
End file
just to remove all text after;
View Diff
1c1 < just to remove all text after; // this is a comment --- > just to remove all text after;
Solutions by @jasonneylon:
Unlock 1 remaining solutions by signing in and submitting your own entry