Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 5c264e64e8c64916d7fca650

remove lines containing the word "reader"

easy stuff

Start file
aklfdjwi37u8rifa a8fdiy 8837r asfyf3y reader
ksaldfjlasreadr aodifufjoe readddddddrrfai 
lakdfj0923898 928329 192378 reader
213891823 reader 29083190283 893774701283
https://website.grep/reader/somecomic.cbz
https://website.ls/download/somecomic.cbz
reader
not reader
End file
ksaldfjlasreadr aodifufjoe readddddddrrfai 
https://website.ls/download/somecomic.cbz

View Diff

1d0
< aklfdjwi37u8rifa a8fdiy 8837r asfyf3y reader
3,5d1
< lakdfj0923898 928329 192378 reader
< 213891823 reader 29083190283 893774701283
< https://website.grep/reader/somecomic.cbz
7,8d2
< reader
< not reader

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 1172 remaining solutions by signing in and submitting your own entry
#1173 Ahmed Zakir / @ahmadmzak - Score: 92 - 01/26/20 @ 01:25
:%s norm<BS><BS><BS><BS><BS>/reader//<BS> norm dd<CR>u::g<BS><BS>g/reader norm dd<CR>:5<BS>%s/reader<Left><Left><Left><Left><Left><Left><Left><BS><BS>f<BS>g<Right><Right><Right><Right><Right><Right><Right>/d<CR>:x<CR>

0 comments


Created by: @anantanni22

1173 active golfers, 3614 entries

Leaderboard (lowest score wins):
9
#481 - Flimsy Giraffe / @flimsy_giraffe

11/28/2021 at 01:00AM

9
#482 - POSIX / @po6ix

01/07/2022 at 02:30AM

9
#483 - Max / @Max17868626

04/22/2022 at 06:52AM

9
#484 - russellzhaomao / @russellzhaomao

05/28/2022 at 10:02AM

9
#485 - Alex / @AlexanderHeatl2

05/30/2022 at 09:04PM

9
#486 - Brandon / @Brandon10678836

08/26/2022 at 11:50AM

9
#487 - Jui Ulhas Dakhave / @JuiDakhave

09/24/2022 at 07:33PM

9
#488 - monika gadage / @gadage_moni

09/25/2022 at 02:45AM

9
#489 - kunal vora / @Kunal_vora9

09/25/2022 at 09:02PM

9
#490 - Janzen / @__Coos

10/05/2022 at 05:07PM

9
#491 - Álan Crístoffer / @acristoffers

11/27/2022 at 08:00PM

9
#492 - Selvaganapathy P / @canabady

04/10/2023 at 12:01PM

9
#493 - 7733865@qq.com / @tjxwg

06/14/2023 at 02:08AM

9
#494 - 咸糖🎯 / @GIA917229015

07/09/2023 at 02:38PM

9
#495 - rayx / @ray-x

12/03/2023 at 10:14PM

9
#496 - sosa-daniel / @sosa-daniel

12/29/2023 at 09:16AM

9
#497 - philikarus / @philikarus

02/10/2024 at 11:25AM

9
#498 - Andy / @andyfoster

04/06/2024 at 12:38PM

9
#499 - gpfl0712 / @gpfl0712

04/13/2024 at 10:37PM

9
#500 - Yash Kulshrestha / @YashdalfTheGray

05/04/2024 at 04:57AM

9
#501 - Gerard Keane / @gerardkeane

05/16/2024 at 03:44PM

9
#502 - Paul McDowell / @etothepi16

05/24/2024 at 07:06PM

9
#503 - Don'tBeAlarmed / @DontBeAlarmed

05/29/2024 at 06:13PM

9
#504 - Peppa Pig / @PeppaPigSg

07/02/2024 at 08:25AM

9
#505 - NotWearingPants / @NotWearingPants

08/06/2024 at 11:55PM

9
#506 - Pablo Acuna / @pacuna

11/04/2024 at 06:11PM

9
#507 - Peter Wang / @jhkjhkjhjkhk

01/29/2025 at 07:54PM

9
#508 - Nathan Priego / @nspriego

02/25/2025 at 01:36AM

9
#509 - Akito Sano / @Szkieletor37

03/30/2025 at 12:37PM

9
#510 - Karan / @KaranVaity

06/21/2025 at 02:26PM