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):
11
#931 - Aioriya / @AioriyaDonk

05/14/2020 at 01:22AM

11
#932 - Pouya Rostam / @PouyaRostam

05/26/2020 at 02:48AM

11
#933 - Ed Leafe / @EdLeafe

06/15/2020 at 11:41PM

11
#934 - Felix / @motorente

06/24/2020 at 01:29PM

11
#935 - yuval jacoby / @yuval_jacoby

07/20/2020 at 08:27PM

11
#936 - Daniel Habib / @danielhvs

07/21/2020 at 02:38AM

11
#937 - Maibritt Illner / @Maibritt_Illner

08/08/2020 at 12:43PM

11
#938 - denzinger / @HJDDenzinger

09/12/2020 at 04:09AM

11
#939 - Leander Hendrikx / @leanderhendrikx

11/22/2020 at 10:40AM

11
#940 - vimgolf throwaway / @vimgolfthrowaw3

12/12/2020 at 07:13AM

11
#941 - mevmev / @mevmev8

01/17/2021 at 09:38PM

11
#942 - zapakh / @zapakh

01/21/2021 at 05:23AM

11
#943 - Jan / @stekks

01/21/2021 at 07:35PM

11
#944 - :wq / @write_quit_22

06/12/2021 at 03:27PM

11
#945 - Remus Dalrymple / @bornintheflames

01/03/2024 at 08:07PM

12
#946 - Simon Cheng / @bambooraccoon

01/08/2019 at 07:38PM

12
#947 - Blah Blah / @BlahBla08410389

01/13/2019 at 11:59PM

12
#948 - Juan / @jubujjamer

01/15/2019 at 02:12PM

12
#949 - Ismael Puerto / @ismaelpuerto

01/16/2019 at 09:26PM

12
#950 - jdw / @jdw76778810

01/23/2019 at 06:40AM

12
#951 - Huy Hùng / @hungdh0x5e

01/29/2019 at 12:27PM

12
#952 - Bilgisayar yazilimcisi Huseyin / @revanthedarth

02/09/2019 at 02:51AM

12
#953 - Chris AtLee / @chrisatlee

03/01/2019 at 06:18PM

12
#954 - Packetised / @Packetised

03/12/2019 at 10:20PM

12
#955 - Vincent Carrier / @VincntCarrier

03/23/2019 at 03:11AM

12
#956 - satyajeet / @SatKanetkar

03/24/2019 at 05:28PM

12
#957 - Kai.Li / @KaiLi19

04/28/2019 at 03:27AM

12
#958 - Anthony GRASSIOT / @antograssiot

05/05/2019 at 07:35PM

12
#959 - James Stidard / @JamesStidard

05/05/2019 at 10:58PM

12
#960 - 2xRon / @2cdotRon

05/15/2019 at 03:50AM