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):
04/13/2024 at 12:11PM
04/13/2024 at 12:19PM
04/13/2024 at 04:33PM
04/14/2024 at 11:59AM
04/14/2024 at 01:19PM
11/24/2024 at 07:59PM
03/27/2025 at 07:08AM
04/27/2025 at 01:11AM
01/12/2019 at 02:48AM
01/14/2019 at 06:46AM
01/19/2019 at 10:17PM
01/21/2019 at 05:03PM
03/03/2019 at 07:31PM
04/28/2019 at 12:26AM
01/12/2019 at 01:05AM
01/16/2019 at 01:13AM
01/16/2019 at 04:22PM
01/17/2019 at 10:21PM
05/10/2019 at 04:21PM
09/24/2019 at 02:04PM
09/27/2019 at 04:39PM
10/24/2019 at 09:18AM
11/18/2019 at 11:12AM
05/31/2021 at 02:51AM
01/13/2019 at 10:50AM
01/27/2019 at 09:03AM
04/10/2020 at 02:22PM
02/21/2021 at 05:45AM
04/14/2024 at 08:14AM
11/08/2024 at 07:35PM