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 5f1e0217becb80000692b9c4

Rural Post

Simple challenge to remove all but the post code on each line

Start file
RD 5 Gore 9775
RD 6 Gore 9776
RD 7 Gore 9777
RD 1 Great Barrier Island 0991
RD 1 Greta Valley 7387
RD 1 Greytown 5794
RD 1 Hamilton 3281
RD 2 Hamilton 3282
End file
9775
9776
9777
0991
7387
5794
3281
3282

View Diff

1,8c1,8
< RD 5 Gore 9775
< RD 6 Gore 9776
< RD 7 Gore 9777
< RD 1 Great Barrier Island 0991
< RD 1 Greta Valley 7387
< RD 1 Greytown 5794
< RD 1 Hamilton 3281
< RD 2 Hamilton 3282
---
> 9775
> 9776
> 9777
> 0991
> 7387
> 5794
> 3281
> 3282

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 88 remaining solutions by signing in and submitting your own entry
#89 Владислав / @82smQKgPrrzh33V - Score: 214 - 08/03/20 @ 16:31
:a<BS><BS>;:a<BS><BS>aa<BS>uuuuu<BS><BS><BS><Esc>uuuuu`<Esc>ffffffffA:<BS>o<BS><Esc>othis is vim text<Esc>ddURRRRRRRRRRRRRRRrrrRRRuuuuuu<Esc>uuuRRR<Esc>uu<Esc>:AHHH<CR>:A+H+H+H+H<CR>:a<BS>Ahhhh<CR>:A<CR>I<C-P><BS><BS><BS><BS><C-P><BS><BS><BS><BS><Esc>:a<BS>A<CR><0xd0><0xbc><Right><Left>vlllllllllx<Down>.<Down>.<Down>...u<Down>..u<Down>.<Down>.<Down>.<Up><Up><Down><Down>vllkjkjlxk.k.k..k..uddu<Del><Del>:wq<CR>

0 comments


Created by: @ctmusicnz

89 active golfers, 282 entries

Leaderboard (lowest score wins):
10
#31 - Ron-Shan,Chang / @highlupin

08/01/2020 at 03:43AM

10
#32 - Ebi / @ehan6

08/01/2020 at 02:00PM

10
#33 - int@紅ぽよ / @int_cl

08/01/2020 at 04:05PM

10
#34 - Miłosz Łakomy / @foobar01123

08/01/2020 at 07:03PM

10
#35 - Dionysus / @user101user

08/02/2020 at 04:37AM

10
#36 - xarmux / @xarmux

08/02/2020 at 09:58AM

10
#37 - Arne Winter / @ArneWinter5

08/02/2020 at 12:51PM

10
#38 - haipeng li / @HaipengLie

08/02/2020 at 02:02PM

10
#39 - Yoshihiro Hokazono / @YoshihiroHokaz1

08/02/2020 at 03:11PM

10
#40 - Du Phan / @fehiepsi

08/02/2020 at 08:13PM

10
#41 - bondiano / @b0ndiano

08/02/2020 at 08:33PM

10
#42 - Isaac Pohl-Zaretsky / @IsaacPZZ

08/02/2020 at 11:16PM

10
#43 - Terry Vogelsang / @terryvogelsang

08/03/2020 at 02:02PM

10
#44 - Alek Mugnozzo / @mugnozzo

08/03/2020 at 03:50PM

10
#45 - Filipe Brandenburger / @filbranden

08/03/2020 at 04:04PM

10
#46 - GenericHardwareGamer / @GnrikHrdwrGamer

08/04/2020 at 07:35AM

10
#47 - Dmytro POSTOLOV / @B2o5T

08/04/2020 at 02:44PM

11
#48 - Yannick / @Yannick88147038

07/27/2020 at 11:41AM

11
#49 - Ravi S Sinha / @ambidextrousTx

07/28/2020 at 03:31AM

11
#50 - knub / @LauraToric

08/01/2020 at 09:24AM

11
#51 - khedd / @sinan_khedd

08/02/2020 at 06:45PM

11
#52 - Fergus Longley / @FergusLongley

08/03/2020 at 10:43AM

12
#53 - Saurav Ray / @sauravpray

07/28/2020 at 07:31PM

13
#54 - Daniel Habib / @danielhvs

07/27/2020 at 12:01AM

13
#55 - Chris Thompson / @ctmusicnz

07/27/2020 at 02:18AM

13
#56 - Juan Manuel Fresia / @fresiajm

07/27/2020 at 02:48AM

13
#57 - Steve Frost / @FrostSteveFrost

07/27/2020 at 03:08AM

13
#58 - Sergey Averkiev / @ExAnimoso

07/27/2020 at 08:32AM

13
#59 - Jonáš Šerých / @serycjon

07/27/2020 at 10:06AM

13
#60 - vito / @vito49999722

07/27/2020 at 12:24PM