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):
17
#1 - wpr__ / @wpr____

07/19/2022 at 03:50PM

17
#2 - John Braxler / @braxler

07/28/2022 at 02:14PM

17
#3 - sap / @sap38838304

09/27/2022 at 03:59AM

18
#4 - Jean George / @JeanGeo20504212

04/06/2022 at 03:37PM

18
#5 - Jeremy Campbell / @rwrdb

04/11/2022 at 01:10PM

18
#6 - ff df / @ffdf93207177

04/18/2022 at 02:26AM

18
#7 - Tom11w / @Tom11Wh

04/24/2022 at 07:41AM

18
#8 - yancy / @yancy_dong

04/28/2022 at 03:33PM

18
#9 - Marc Jethro Avila / @maje_avila

05/07/2022 at 02:47PM

18
#10 - Ryan Murphy / @RyanMur92693753

05/08/2022 at 10:42PM

18
#11 - Pablo Cárdenas / @pablo_cardenasb

05/19/2022 at 02:06AM

18
#12 - russellzhaomao / @russellzhaomao

05/19/2022 at 06:07AM

18
#13 - jcbglbmn / @JacobGelbman

05/20/2022 at 09:37PM

18
#14 - Robberechts Arne / @ArneRobberechts

05/21/2022 at 06:27PM

18
#15 - Irakli Chigvaria / @tchigvaria

05/23/2022 at 04:39AM

18
#16 - Mario / @MarioWolfe

06/19/2022 at 03:53AM

18
#17 - Peter Nyssen / @PeterNyssen

06/20/2022 at 12:10PM

18
#18 - Хью Джолли / @DzolliH

06/23/2022 at 02:55AM

18
#19 - Ekalos / @_Ekalos

07/03/2022 at 08:14AM

18
#20 - Eivind Jahren / @HaskellElephant

09/14/2022 at 06:32PM

18
#21 - Leroy Jenkins / @LeroyJe70429357

09/16/2022 at 09:48PM

18
#22 - Topvimgolf Score / @topvimgolfscore

10/15/2022 at 10:14AM

18
#23 - Paradoxskin / @paradoxskin

10/31/2022 at 11:04AM

19
#24 - hamb / @hamb88140219

03/25/2022 at 02:53AM

19
#25 - Pedro Minicz / @pedrominicz

03/26/2022 at 11:14PM

19
#26 - Youssef Magdy / @youssef_magdy29

04/28/2022 at 01:55AM

19
#27 - Eviber / @youvaaaaa

04/30/2022 at 09:26PM

19
#28 - Regan Tackett / @arrowtackett

05/30/2022 at 08:53AM

19
#29 - Levi Wheeler / @LeviWhe68726437

06/03/2022 at 09:11PM

19
#30 - A White Dwarf / @AWhiteDwarf1

06/04/2022 at 05:25PM