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
#691 - Gomez / @poster_eco

11/12/2019 at 12:21AM

10
#692 - Matt Aschmann / @ma7hatter

11/13/2019 at 05:36PM

10
#693 - Sam / @MasKeo13

11/14/2019 at 02:08PM

10
#694 - fewfold / @fewfold

11/21/2019 at 08:07PM

10
#695 - Minyi Zhong / @minyi_zhong

11/22/2019 at 07:21AM

10
#696 - Wouter Horlings / @Achilleshiel

11/22/2019 at 02:58PM

10
#697 - Bruce Adams / @bruceadams1054

11/23/2019 at 08:09AM

10
#698 - shota_ogswr / @shota_ogasawara

11/24/2019 at 02:24PM

10
#699 - Eviber / @youvaaaaa

11/27/2019 at 10:54AM

10
#700 - Bida Wa / @bida_wa

11/27/2019 at 05:17PM

10
#701 - wsg / @wsg31986835

11/29/2019 at 12:26AM

10
#702 - galanaki / @galanaki

11/29/2019 at 01:41AM

10
#703 - ErQ325 / @EQ325

12/03/2019 at 04:02PM

10
#704 - 990 / @nisibasi990

12/04/2019 at 02:48PM

10
#705 - Preetham Maiya / @PreethamMaiya

12/06/2019 at 07:46AM

10
#706 - Andrei Popescu / @AndreiTheory

12/09/2019 at 08:14PM

10
#707 - Richard Mörbitz / @Lodifice

12/09/2019 at 08:52PM

10
#708 - rirze / @SourabhWasTaken

12/10/2019 at 09:07PM

10
#709 - King Kang / @nobagtravel

12/11/2019 at 10:23AM

10
#710 - Lion de Bell / @CLGBamboo

12/15/2019 at 07:35PM

10
#711 - Aaron / @_Lordofthevoid_

12/17/2019 at 05:43PM

10
#712 - Dan Kilman / @dan_kilman

12/18/2019 at 05:20PM

10
#713 - Steve Racanovic / @steve_racanovic

12/19/2019 at 01:43AM

10
#714 - James Casey / @hanavi

12/20/2019 at 11:05PM

10
#715 - hokonch / @hokonch

12/22/2019 at 03:40PM

10
#716 - None / @sh1chuang

12/30/2019 at 12:01PM

10
#717 - mowglian / @mowglian

01/07/2020 at 11:13PM

10
#718 - novax / @novax22953288

01/08/2020 at 06:55PM

10
#719 - Lars Haalck / @larshulk

01/09/2020 at 02:37PM

10
#720 - nicosierra / @nicosierra84

01/09/2020 at 09:40PM