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 1168 remaining solutions by signing in and submitting your own entry
#1169 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

1169 active golfers, 3604 entries

Leaderboard (lowest score wins):
10
#751 - Greg Lee / @real_gregliest

04/01/2020 at 05:52AM

10
#752 - Nathan Hartman / @hnathan918

04/02/2020 at 04:36PM

10
#753 - RaylanFox / @RaylanFox

04/10/2020 at 12:31PM

10
#754 - Moatvald / @moatvald

04/16/2020 at 12:11PM

10
#755 - Zachary Lee / @abstractlyZach

04/25/2020 at 04:53PM

10
#756 - Vaibhav Kaushik / @vnzongzna

04/27/2020 at 09:40PM

10
#757 - dule2607 / @dule26071

04/29/2020 at 04:02PM

10
#758 - Axel / @Axel07930943

05/05/2020 at 06:39AM

10
#759 - kayay78 / @h0taao

05/06/2020 at 02:46AM

10
#760 - Rebecca V. / @rxbxccxv

05/08/2020 at 09:39AM

10
#761 - ryan carins / @ryan_carins

05/09/2020 at 09:24PM

10
#762 - Fnord Everywhere / @FnordE

05/13/2020 at 08:16AM

10
#763 - Pawel Wenda / @pwlwnd

05/13/2020 at 10:57AM

10
#764 - dotvimrc / @dotvimrc1

05/16/2020 at 05:20PM

10
#765 - zachary keilholz / @zacharydoes

05/16/2020 at 07:57PM

10
#766 - She3o at HOME / @Anas_She3sha3y

05/19/2020 at 02:17AM

10
#767 - 于吉星 / @fishermryn

05/23/2020 at 11:51AM

10
#768 - garry quested / @GQuested

05/24/2020 at 09:40AM

10
#769 - RockerZZY / @rocker_zzy

05/27/2020 at 12:38PM

10
#770 - Coby Drexler / @CobyDrexler

05/27/2020 at 05:23PM

10
#771 - Robin Abrahamsson / @rqAbrahamsson

05/27/2020 at 08:34PM

10
#772 - Patrick Weigert / @PatrickWeigert

06/01/2020 at 02:09AM

10
#773 - Bob / @Bob37174065

06/01/2020 at 02:38PM

10
#774 - otfsenter / @otfsenter

06/03/2020 at 04:47PM

10
#775 - Jackie / @Jackie57887507

06/05/2020 at 03:09AM

10
#776 - Romain / @djizeuscoco

06/10/2020 at 04:34PM

10
#777 - candywrappercrane / @cndwrpprpprcrn

06/12/2020 at 11:17AM

10
#778 - nihilistCookie / @NihilistCookie

06/14/2020 at 01:17PM

10
#779 - khedd / @sinan_khedd

06/14/2020 at 03:35PM

10
#780 - infinitesimal being 🎮 / @hydr063n

06/20/2020 at 09:47PM