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

1121 active golfers, 3454 entries

Leaderboard (lowest score wins):
14
#1021 - alrito / @alrito6

09/12/2020 at 10:50PM

14
#1022 - Ben Wainwright / @benwainwrightuk

09/26/2020 at 03:10PM

14
#1023 - Mickaël Menu / @mickaelmenu

10/24/2020 at 09:48PM

14
#1024 - Demian Martinez / @demianuco

11/01/2020 at 11:39PM

14
#1025 - Bharath / @Bharath15952517

12/13/2020 at 04:10PM

14
#1026 - John Doe / @JohnDoe75830353

12/21/2020 at 11:59PM

14
#1027 - fff / @fff51460170

01/13/2021 at 03:02AM

14
#1028 - Matt / @woodfell

02/19/2021 at 05:34AM

14
#1029 - Martin LOUAZEL / @Zbrahark

02/25/2021 at 07:46AM

15
#1030 - daveramirez / @daveramirez

01/03/2019 at 08:49PM

15
#1031 - procrash / @procrash

01/10/2019 at 06:09AM

15
#1032 - Dante Pasionek / @dpasi314

01/17/2019 at 06:50PM

15
#1033 - Mitchell Hanberg / @mitchhanberg

03/19/2019 at 06:53PM

15
#1034 - Vimfiz / @vimfiz

03/20/2019 at 04:43AM

15
#1035 - BernBe / @BernBe8

03/30/2019 at 04:39PM

15
#1036 - Alex / @thekyz

04/23/2019 at 08:39AM

15
#1037 - bpseudopod / @bpseudopod

07/18/2019 at 05:53PM

15
#1038 - Sam A. Horvath-Hunt / @SamHH95

08/18/2019 at 10:45AM

15
#1039 - deflate 💨 / @boohoobs

11/22/2019 at 02:30AM

15
#1040 - Bram / @Bram__Janssen

12/07/2019 at 01:19PM

15
#1041 - Christoffer Haugom / @Haugi

01/10/2020 at 12:54PM

15
#1042 - David Hume / @djh95

02/27/2020 at 12:54AM

15
#1043 - Carl / @Subzidion

08/22/2020 at 08:04AM

15
#1044 - unx / @u73999117

09/28/2020 at 12:03AM

15
#1045 - Muradil / @MuradilUdun

10/21/2020 at 04:55PM

15
#1046 - moh ayaya / @AyayaMoh

10/25/2020 at 09:13PM

15
#1047 - david / @david52856086

12/15/2020 at 10:12PM

15
#1048 - Gunter Kluge / @KlugeGunter

01/04/2021 at 12:25AM

15
#1049 - x03n046 / @x03n046

05/13/2022 at 07:24AM

16
#1050 - Valentino / @TheAwesomeVibe

01/02/2019 at 09:00PM