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

167 active golfers, 912 entries

Leaderboard (lowest score wins):
18
#31 - e_e / @eleloi

02/12/2023 at 04:02PM

18
#32 - 蛙爹 / @Joe53572723

02/21/2023 at 07:54AM

18
#33 - NOT_FOR_TWEETS / @_NOTIMPLEMENTED

05/03/2023 at 10:41AM

18
#34 - Golf Vim / @GolfVim11388

07/02/2023 at 12:36AM

18
#35 - Luoyb / @Luoyb

10/21/2023 at 06:07AM

18
#36 - Seok Hwan Kim / @gworldkim

10/29/2023 at 01:57PM

19
#37 - hamb / @hamb88140219

03/25/2022 at 02:53AM

19
#38 - Pedro Minicz / @pedrominicz

03/26/2022 at 11:14PM

19
#39 - Youssef Magdy / @youssef_magdy29

04/28/2022 at 01:55AM

19
#40 - Eviber / @youvaaaaa

04/30/2022 at 09:26PM

19
#41 - Regan Tackett / @arrowtackett

05/30/2022 at 08:53AM

19
#42 - Levi Wheeler / @LeviWhe68726437

06/03/2022 at 09:11PM

19
#43 - A White Dwarf / @AWhiteDwarf1

06/04/2022 at 05:25PM

19
#44 - JWei / @JWei9

07/12/2022 at 04:49PM

19
#45 - Janzen / @__Coos

10/07/2022 at 07:53AM

19
#46 - Mrmclarrinson / @mrmclarrinson

12/12/2022 at 05:15PM

19
#47 - 黄高昂 / @suewiq

03/02/2023 at 04:29AM

21
#48 - John Xu / @xzzhiao

04/06/2022 at 03:00PM

22
#49 - Smylers / @Smylers2

03/14/2022 at 11:12PM

22
#50 - Ramtin Martin / @martin_ramtin

03/25/2022 at 02:57AM

22
#51 - Brian Leung / @brian_leung

03/26/2022 at 02:45AM

23
#52 - Jon Krause / @jkrause314

03/13/2022 at 04:58PM

23
#53 - Daniel Harding / @living_180

04/14/2022 at 12:25PM

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

04/23/2022 at 11:13PM

23
#55 - sdfghjk / @sdfghjk88424595

04/27/2022 at 11:30PM

23
#56 - quemeraisc / @quemeraisc

05/02/2022 at 04:34PM

23
#57 - satetheus-vimgolf / @SVimgolf

07/17/2022 at 05:46AM

23
#58 - brett / @brettyukich

08/23/2022 at 03:44PM

23
#59 - Nikita / @nikitajz

09/18/2022 at 06:49PM

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

10/04/2022 at 12:28AM