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 140 remaining solutions by signing in and submitting your own entry
#141 盧小小 / @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

141 active golfers, 734 entries

Leaderboard (lowest score wins):
19
#31 - Eviber / @youvaaaaa

04/30/2022 at 09:26PM

19
#32 - Regan Tackett / @arrowtackett

05/30/2022 at 08:53AM

19
#33 - Levi Wheeler / @LeviWhe68726437

06/03/2022 at 09:11PM

19
#34 - A White Dwarf / @AWhiteDwarf1

06/04/2022 at 05:25PM

19
#35 - JWei / @JWei9

07/12/2022 at 04:49PM

19
#36 - Janzen / @__Coos

10/07/2022 at 07:53AM

19
#37 - Mrmclarrinson / @mrmclarrinson

12/12/2022 at 05:15PM

19
#38 - 黄高昂 / @suewiq

03/02/2023 at 04:29AM

21
#39 - John Xu / @xzzhiao

04/06/2022 at 03:00PM

22
#40 - Smylers / @Smylers2

03/14/2022 at 11:12PM

22
#41 - Ramtin Martin / @martin_ramtin

03/25/2022 at 02:57AM

22
#42 - Brian Leung / @brian_leung

03/26/2022 at 02:45AM

23
#43 - Jon Krause / @jkrause314

03/13/2022 at 04:58PM

23
#44 - Daniel Harding / @living_180

04/14/2022 at 12:25PM

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

04/23/2022 at 11:13PM

23
#46 - sdfghjk / @sdfghjk88424595

04/27/2022 at 11:30PM

23
#47 - quemeraisc / @quemeraisc

05/02/2022 at 04:34PM

23
#48 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 05:46AM

23
#49 - brett / @brettyukich

08/23/2022 at 03:44PM

23
#50 - Nikita / @nikitajz

09/18/2022 at 06:49PM

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

10/04/2022 at 12:28AM

24
#52 - Elcio Ferreira / @elcio

03/14/2022 at 10:07PM

24
#53 - Terry Tsao / @TerryTsao9008

03/16/2022 at 04:44AM

24
#54 - Peter Salvi / @salvipeter

03/17/2022 at 12:30PM

24
#55 - Il Granfiatore / @M_Klauer

03/24/2022 at 03:22PM

24
#56 - xadrta / @xadrta

05/09/2022 at 02:41PM

24
#57 - fraktal / @FraktalRebirth

01/29/2023 at 07:19AM

25
#58 - Martin Bielik / @mabielik

06/07/2022 at 07:27PM

25
#59 - x03n046 / @x03n046

06/21/2022 at 07:58AM

26
#60 - Vincent W / @ZoloowW

08/22/2022 at 06:05PM