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;
1c1
< just to remove all text after; // this is a comment
---
> just to remove all text after;
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock
400 remaining solutions by
signing in and submitting your own entry
#401
Mahendrata Harpi / @piharpi -
Score: 95 -
02/10/20 @ 13:05
<Esc>c0<Esc>$d2<BS>uuuulllllllllllllllll$hlldwhhllllllluudwhhuuld4wwxxxxxxxxxxxxxxxxxxxx<Esc><Esc>:w<CR>:w<CR>:w<CR>L:w<CR>:q<CR>
0 comments
401 active golfers, 831 entries
Leaderboard (lowest score wins):
03/27/2025 at 01:06AM
03/30/2025 at 05:12AM
04/01/2025 at 01:20PM
04/02/2025 at 09:34AM
01/12/2019 at 12:53AM
01/12/2019 at 01:07AM
01/12/2019 at 02:08AM
01/12/2019 at 02:49AM
01/12/2019 at 02:53AM
01/12/2019 at 04:59PM
01/12/2019 at 07:54PM
01/12/2019 at 08:13PM
01/12/2019 at 11:56PM
01/13/2019 at 09:06AM
01/13/2019 at 05:05PM
01/13/2019 at 07:26PM
01/14/2019 at 07:25AM
01/14/2019 at 12:04PM
01/14/2019 at 02:51PM
01/16/2019 at 06:20PM
01/19/2019 at 01:22PM
01/19/2019 at 07:48PM
01/23/2019 at 11:28AM
#294 - we’re going to need a bigger bot / @assaflavie
01/23/2019 at 03:22PM
01/24/2019 at 01:04AM
01/25/2019 at 09:10PM
01/27/2019 at 01:01PM
01/27/2019 at 08:37PM
01/31/2019 at 09:28AM
01/31/2019 at 04:58PM