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 9v00622ded15000000000218

Visual block training

You see the input. You see the output. Go.

Start file
a
b
c
d
e
f
g
End file
a g a g a g a
b f b f b f b
c e c e c e c
d d d d d d d
e c e c e c e
f b f b f b f
g a g a g a g

View Diff

1,7c1,7
< a
< b
< c
< d
< e
< f
< g
---
> a g a g a g a
> b f b f b f b
> c e c e c e c
> d d d d d d d
> e c e c e c e
> f b f b f b f
> g a g a g a g

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 120 remaining solutions by signing in and submitting your own entry
#121 盧小小 / @VegetaLu - Score: 183 - 04/01/22 @ 14:42
A g<Esc>jA f<Esc>jA e<Esc>jA d<Esc>jA c<Esc>jA b<Esc>jA a<Esc><C-V>hkkkkkkkkkkkyllppullllp0<C-V>jjjjjjjjjjjlywpulpllpulpllpulllplll<C-V>jjjjjjjc<Esc>hlp<C-V>jjjjjjjjjjyhphhplllll<C-V>jjjjjjjjjjjjjjlllljjhhx<C-V>llll<Esc><Esc>llllljjjjjjjjjjlll:wq<CR>

0 comments


Created by: @mpnmbn

121 active golfers, 630 entries

Leaderboard (lowest score wins):
19
#31 - JWei / @JWei9

07/12/2022 at 04:49PM

19
#32 - Janzen / @__Coos

10/07/2022 at 07:53AM

21
#33 - John Xu / @xzzhiao

04/06/2022 at 03:00PM

22
#34 - Smylers / @Smylers2

03/14/2022 at 11:12PM

22
#35 - Ramtin Martin / @martin_ramtin

03/25/2022 at 02:57AM

22
#36 - Brian Leung / @brian_leung

03/26/2022 at 02:45AM

23
#37 - Jon Krause / @jkrause314

03/13/2022 at 04:58PM

23
#38 - Daniel Harding / @living_180

04/14/2022 at 12:25PM

23
#39 - Preston Pysh܁ᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠ / @Gordan6freeman

04/23/2022 at 11:13PM

23
#40 - sdfghjk / @sdfghjk88424595

04/27/2022 at 11:30PM

23
#41 - quemeraisc / @quemeraisc

05/02/2022 at 04:34PM

23
#42 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 05:46AM

23
#43 - brett / @brettyukich

08/23/2022 at 03:44PM

23
#44 - Nikita / @nikitajz

09/18/2022 at 06:49PM

23
#45 - キムラ・OPEL・ユウジ / @kimurayuuji79

10/04/2022 at 12:28AM

24
#46 - Elcio Ferreira / @elcio

03/14/2022 at 10:07PM

24
#47 - Terry Tsao / @TerryTsao9008

03/16/2022 at 04:44AM

24
#48 - Peter Salvi / @salvipeter

03/17/2022 at 12:30PM

24
#49 - Il Granfiatore / @M_Klauer

03/24/2022 at 03:22PM

24
#50 - xadrta / @xadrta

05/09/2022 at 02:41PM

25
#51 - Martin Bielik / @mabielik

06/07/2022 at 07:27PM

25
#52 - x03n046 / @x03n046

06/21/2022 at 07:58AM

26
#53 - Vincent W / @ZoloowW

08/22/2022 at 06:05PM

29
#54 - Justin Sane / @Here4Vimgolf

05/09/2022 at 07:53PM

30
#55 - Jason Kuan | jasonkuan.eth / @Jason9075Kuan

04/06/2022 at 05:44AM

30
#56 - ._. / @Katharsic

04/24/2022 at 06:52AM

32
#57 - Vincent Staunton, P.I. / @vincestauntonvt

11/04/2022 at 01:21PM

33
#58 - Henk Houwaard / @Henkhouwaard

11/08/2022 at 11:28PM

34
#59 - Saki Gw / @Sakigw

03/14/2022 at 07:38AM

34
#60 - Ricardo Lima / @ricponteslima

03/17/2022 at 04:51PM