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

1029 active golfers, 3204 entries

Leaderboard (lowest score wins):
29
#1021 - Joanna / @joannac_

05/12/2019 at 05:59AM

29
#1022 - kujbika / @kujbika

06/15/2020 at 04:28PM

30
#1023 - Alex C-G 🏳️‍🌈 / @alexcg

04/24/2019 at 05:19AM

30
#1024 - Alvaro Melendez / @alvaromelendezh

02/21/2020 at 02:32AM

34
#1025 - Ankur Singh / @I_ankursingh

05/08/2020 at 01:23PM

37
#1026 - 蒋金鑫 / @jiangjinxin1

01/12/2019 at 09:17AM

44
#1027 - Larry Adames / @LarryAdames

07/04/2019 at 05:06PM

61
#1028 - Daniel Snitkovskiy / @DSnitkovskiy

04/07/2019 at 06:33AM

92
#1029 - Ahmed Zakir / @ahmadmzak

01/26/2020 at 01:25AM