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):
9
#31 - Costel Radulescu / @_wizard_

01/01/2019 at 02:11PM

9
#32 - William Robson / @wnrbs

01/02/2019 at 12:05AM

9
#33 - Khoa Anh Nguyen / @ca0932

01/02/2019 at 07:20AM

9
#34 - Nikos Koukis / @bergercookie12

01/02/2019 at 03:07PM

9
#35 - Oran / @Oranav

01/02/2019 at 04:39PM

9
#36 - Igor Line / @igorlineee

01/02/2019 at 06:09PM

9
#37 - rg thomas / @rgt47

01/03/2019 at 04:01AM

9
#38 - 波波 / @sbob87

01/03/2019 at 08:02AM

9
#39 - Prem Oza / @OzaPrem

01/03/2019 at 01:07PM

9
#40 - Daniel Wolf / @DanielW06054976

01/03/2019 at 06:15PM

9
#41 - Fl4t / @Fl4t

01/03/2019 at 11:12PM

9
#42 - Dario Avitabile / @tutticapaci

01/04/2019 at 09:39AM

9
#43 - leviathan / @leviathan_alpha

01/04/2019 at 10:06AM

9
#44 - Brome / @Brome20887421

01/04/2019 at 05:39PM

9
#45 - Xxax / @Xxax

01/05/2019 at 07:08AM

9
#46 - Netrisk Cool / @C00lt0

01/05/2019 at 07:10PM

9
#47 - Benny / @b1299709

01/05/2019 at 09:52PM

9
#48 - VimGolf / @VimGolf5

01/06/2019 at 01:15AM

9
#49 - antoine mas / @aneomas

01/06/2019 at 11:27AM

9
#50 - Francisco Magalhães / @FranciscoMags

01/06/2019 at 06:17PM

9
#51 - Grorco / @grorco

01/07/2019 at 01:18PM

9
#52 - Amit Singh / @amitds1997

01/07/2019 at 02:23PM

9
#53 - adir ohayon / @AdirKip

01/07/2019 at 06:14PM

9
#54 - Bobby Tables / @BobbyTables12

01/08/2019 at 03:18AM

9
#55 - たくみー(転職ドラシル) / @reirei_As

01/08/2019 at 04:39AM

9
#56 - Turkey Man / @lvturkeyman

01/08/2019 at 08:49AM

9
#57 - alaric27 / @alaric272

01/08/2019 at 09:38AM

9
#58 - Oskar Fridell / @rax0m

01/08/2019 at 04:30PM

9
#59 - pankaj singh / @pankajsingh013

01/08/2019 at 05:48PM

9
#60 - Will / @obiwan__k3n00bi

01/10/2019 at 12:04AM