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

1158 active golfers, 3574 entries

Leaderboard (lowest score wins):
9
#301 - Tamás Kárándi / @tkarandi

10/19/2019 at 12:33PM

9
#302 - Lawrence Gray / @LawrenceGray23

10/19/2019 at 10:40PM

9
#303 - Quentin Fox / @quentinbfox_

10/21/2019 at 01:58AM

9
#304 - Renan Cidale / @rnescalz

10/21/2019 at 10:15PM

9
#305 - MasterFox / @MaestroZorro_

10/22/2019 at 01:03PM

9
#306 - Yāsky / @Yaasky

10/23/2019 at 07:25PM

9
#307 - @soller@fosstodon.org / @jeremy_soller

10/25/2019 at 01:21AM

9
#308 - rr / @rodgeur31

10/25/2019 at 10:34PM

9
#309 - harmony_krieg / @harmony_krieg

10/26/2019 at 09:57AM

9
#310 - Frank Scholl / @fhscholl

10/27/2019 at 05:18AM

9
#311 - vicver09 / @vicver091

10/27/2019 at 02:00PM

9
#312 - Gregory Furter / @gfurter

10/27/2019 at 06:43PM

9
#313 - Keith Klassen / @Collegekid491

11/02/2019 at 09:57PM

9
#314 - vimgolfer / @vimgolfer7

11/03/2019 at 08:42AM

9
#315 - skamgolf / @skamgolf

11/04/2019 at 12:06AM

9
#316 - Emil Braserud / @Erdustiggen

11/08/2019 at 05:16PM

9
#317 - shoji541 / @shoji541

11/09/2019 at 11:25AM

9
#318 - manfred knapp / @fred_pooshka

11/09/2019 at 08:25PM

9
#319 - Daniel Klepacki / @daniel_klepacki

11/12/2019 at 05:54PM

9
#320 - Lei Kin / @kireinasorakin

11/12/2019 at 06:08PM

9
#321 - mogitate / @mutemeat

11/14/2019 at 02:49PM

9
#322 - alibabadienstaccount / @alibabadiensta1

11/14/2019 at 03:58PM

9
#323 - Micael Jarniac / @MicaelJarniac

11/16/2019 at 07:34PM

9
#324 - Alexandre / @Hikaru_

11/22/2019 at 02:57PM

9
#325 - bassnecter / @lothedr

11/23/2019 at 03:56PM

9
#326 - Magnus / @praktiskt

11/25/2019 at 05:59PM

9
#327 - oldandslow / @oldandslow5

11/25/2019 at 07:10PM

9
#328 - Przemysław Michalak / @dambusio

11/25/2019 at 07:58PM

9
#329 - Sebastien Premont / @spremont

11/28/2019 at 01:25PM

9
#330 - Hector Ricardo / @Hector_Ricardo3

11/30/2019 at 12:29AM