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

1178 active golfers, 3624 entries

Leaderboard (lowest score wins):
30
#1171 - Alvaro Melendez / @alvaromelendezh

02/21/2020 at 02:32AM

34
#1172 - Ankur Singh / @I_ankursingh

05/08/2020 at 01:23PM

37
#1173 - 蒋金鑫 / @jiangjinxin1

01/12/2019 at 09:17AM

44
#1174 - Larry Adames / @LarryAdames

07/04/2019 at 05:06PM

44
#1175 - kijete3127 / @kijete3127

12/13/2020 at 02:12PM

61
#1176 - Daniel Snitkovskiy / @DSnitkovskiy

04/07/2019 at 06:33AM

61
#1177 - nickGPT / @nickandbro

08/25/2024 at 02:47AM

92
#1178 - Ahmed Zakir / @ahmadmzak

01/26/2020 at 01:25AM