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

195 active golfers, 1047 entries

Leaderboard (lowest score wins):
18
#31 - Paradoxskin / @paradoxskin

10/31/2022 at 11:04AM

18
#32 - Dank City / @ddankcity

12/05/2022 at 01:44PM

18
#33 - Marco Meinardi / @Kee__no

12/29/2022 at 03:25PM

18
#34 - e_e / @eleloi

02/12/2023 at 04:02PM

18
#35 - 蛙爹 / @Joe53572723

02/21/2023 at 07:54AM

18
#36 - NOT_FOR_TWEETS / @_NOTIMPLEMENTED

05/03/2023 at 10:41AM

18
#37 - Golf Vim / @GolfVim11388

07/02/2023 at 12:36AM

18
#38 - Luoyb / @Luoyb

10/21/2023 at 06:07AM

18
#39 - Seok Hwan Kim / @gworldkim

10/29/2023 at 01:57PM

18
#40 - Leon Katsnelson / @leonkatsnelson

12/15/2023 at 08:58PM

18
#41 - ndaval / @ndaval

01/12/2024 at 09:34PM

18
#42 - 刘宏亮 / @AkeyCoy

05/02/2024 at 05:52PM

19
#43 - hamb / @hamb88140219

03/25/2022 at 02:53AM

19
#44 - Pedro Minicz / @pedrominicz

03/26/2022 at 11:14PM

19
#45 - Youssef Magdy / @youssef_magdy29

04/28/2022 at 01:55AM

19
#46 - Eviber / @youvaaaaa

04/30/2022 at 09:26PM

19
#47 - Regan Tackett / @arrowtackett

05/30/2022 at 08:53AM

19
#48 - Levi Wheeler / @LeviWhe68726437

06/03/2022 at 09:11PM

19
#49 - A White Dwarf / @AWhiteDwarf1

06/04/2022 at 05:25PM

19
#50 - JWei / @JWei9

07/12/2022 at 04:49PM

19
#51 - Janzen / @__Coos

10/07/2022 at 07:53AM

19
#52 - Mrmclarrinson / @mrmclarrinson

12/12/2022 at 05:15PM

19
#53 - 黄高昂 / @suewiq

03/02/2023 at 04:29AM

19
#54 - Emil Miler / @realcharmer

05/31/2024 at 03:12PM

21
#55 - John Xu / @xzzhiao

04/06/2022 at 03:00PM

21
#56 - lnorbo / @lnorbo

06/09/2024 at 11:35AM

22
#57 - Smylers / @Smylers2

03/14/2022 at 11:12PM

22
#58 - Ramtin Martin / @martin_ramtin

03/25/2022 at 02:57AM

22
#59 - Brian Leung / @brian_leung

03/26/2022 at 02:45AM

23
#60 - Jon Krause / @jkrause314

03/13/2022 at 04:58PM