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):
13
#61 - mnx / @mnxx

07/27/2020 at 08:18PM

13
#62 - Miki Tebeka / @tebeka

07/28/2020 at 06:16AM

13
#63 - dadav 🥀 / @__dadav__

07/28/2020 at 07:13AM

13
#64 - Sam Houston / @shouston33

07/28/2020 at 05:50PM

13
#65 - James Blanton / @jamespblanton

07/29/2020 at 10:52PM

13
#66 - ぼとぼと / @boto_voto

08/02/2020 at 05:02PM

15
#67 - drGsus / @drGsus

07/29/2020 at 07:26AM

15
#68 - Rustem B. / @_rustemb

07/31/2020 at 02:16PM

16
#69 - Seve / @__Seve__

07/31/2020 at 09:27PM

17
#70 - asdf / @asdf06706771

08/02/2020 at 06:11AM

18
#71 - Wayne / @lilwayne15561

07/27/2020 at 06:54PM

18
#72 - Maibritt Illner / @Maibritt_Illner

08/04/2020 at 05:54PM

20
#73 - Patrick Lavin / @LavinComputes

08/04/2020 at 12:25AM

22
#74 - Takumi IINO / @troter

07/30/2020 at 09:58AM

22
#75 - Jajalí / @halivert

08/03/2020 at 04:08PM

23
#76 - VQvMoKsy / @QvKsy

07/28/2020 at 03:26PM

23
#77 - Henry Sloan / @HenryKSloan

08/05/2020 at 01:58AM

25
#78 - Jose / @Esnaque

07/28/2020 at 05:44PM

25
#79 - Vincent Feng / @VincentFenging

08/03/2020 at 05:06PM

26
#80 - Gonzalo del Castillo / @gdelca5

07/27/2020 at 12:40AM

27
#81 - TonyFettes / @TonyFettes

08/04/2020 at 05:16AM

28
#82 - Trevor Hulsman / @trevorhulsman

08/02/2020 at 07:30AM

30
#83 - 彭驰Yo-Ki-O / @pengchi1244

07/30/2020 at 01:38AM

30
#84 - Shrutesh Patil / @patil_shrutesh

08/01/2020 at 07:27PM

30
#85 - binayak tiwari / @bintiw

08/03/2020 at 12:29AM

31
#86 - Thiago Becker / @beckert

07/31/2020 at 12:22PM

40
#87 - Logan CJ Rice / @lcjrice

08/01/2020 at 05:45PM

52
#88 - Serik / @SerikIdrissov

07/30/2020 at 07:56AM

214
#89 - Владислав / @82smQKgPrrzh33V

08/03/2020 at 04:31PM