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):
9
#151 - ๐Ÿ…ท๐Ÿ…ฐ๐Ÿ†๐Ÿ†๐Ÿ†ˆ / @HarryAAbrahams1

03/28/2019 at 09:48AM

9
#152 - Brad Daniels / @JBradDaniels

03/29/2019 at 01:46AM

9
#153 - Maximilian F. / @TheMaex

03/29/2019 at 10:57PM

9
#154 - EarthToAbigail / @EarthAbigail

04/02/2019 at 06:16AM

9
#155 - David A. Lyon / @dauglyon

04/02/2019 at 04:01PM

9
#156 - David Accomazzo / @WordsofDefiance

04/05/2019 at 03:37AM

9
#157 - Mark Brouwers / @fryght

04/05/2019 at 04:09PM

9
#158 - Remy Oudemans / @OudemansRemy

04/06/2019 at 09:21AM

9
#159 - Banner B. Schafer / @BannerBSchafer

04/08/2019 at 03:27AM

9
#160 - OtterPy / @OtterPy

04/08/2019 at 12:19PM

9
#161 - thumb le / @tamtale

04/09/2019 at 06:08PM

9
#162 - Norbert / @mullno

04/12/2019 at 06:21PM

9
#163 - John / @John40423001

04/14/2019 at 01:29PM

9
#164 - Askhat Sakhabiev / @Sakhabiev_Ashat

04/14/2019 at 10:58PM

9
#165 - Lewis Guignard / @LewisGuignard

04/16/2019 at 01:50PM

9
#166 - Magnus Israel / @Mangust1

04/16/2019 at 07:58PM

9
#167 - john ford / @johnfor65634499

04/17/2019 at 11:19PM

9
#168 - Jaan Toots / @JaanToots

04/18/2019 at 11:23AM

9
#169 - tapio / @gncnaxb

04/18/2019 at 12:27PM

9
#170 - Darren Weston / @dazWestonUK

04/18/2019 at 03:49PM

9
#171 - Grant / @grant_7788

04/25/2019 at 01:48PM

9
#172 - panakin skywalker / @_j3ffrey

04/25/2019 at 07:18PM

9
#173 - Peter Dolan / @PeterDo76228680

04/25/2019 at 10:48PM

9
#174 - Pretend it's Beef / @EthanMcQuarrie

04/28/2019 at 10:49AM

9
#175 - ow / @ow34480012

05/02/2019 at 08:04AM

9
#176 - hoge2341836 / @RootShunsuke

05/04/2019 at 03:11AM

9
#177 - Koo Zhengqun / @zhengqunkoo

05/04/2019 at 05:09AM

9
#178 - eric huang / @EricGodhand4826

05/04/2019 at 05:46PM

9
#179 - Manos Koutselakis / @koutselakis_m

05/05/2019 at 12:28AM

9
#180 - Frede Emil / @Frede_Eb

05/05/2019 at 02:44PM