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

79 active golfers, 361 entries

Leaderboard (lowest score wins):
18
#1 - Jean George / @JeanGeo20504212

04/06/2022 at 03:37PM

18
#2 - John Braxler / @braxler

04/08/2022 at 04:52PM

18
#3 - Jeremy Campbell / @rwrdb

04/11/2022 at 01:10PM

18
#4 - ff df / @ffdf93207177

04/18/2022 at 02:26AM

18
#5 - Tom11w / @Tom11Wh

04/24/2022 at 07:41AM

18
#6 - yancy / @yancy_dong

04/28/2022 at 03:33PM

18
#7 - Marc Jethro Avila / @maje_avila

05/07/2022 at 02:47PM

18
#8 - Ryan Murphy / @RyanMur92693753

05/08/2022 at 10:42PM

18
#9 - Pablo Cárdenas / @pablo_cardenasb

05/19/2022 at 02:06AM

18
#10 - russellzhaomao / @russellzhaomao

05/19/2022 at 06:07AM

18
#11 - jcbglbmn / @JacobGelbman

05/20/2022 at 09:37PM

18
#12 - Robberechts Arne / @ArneRobberechts

05/21/2022 at 06:27PM

19
#13 - hamb / @hamb88140219

03/25/2022 at 02:53AM

19
#14 - Pedro Minicz / @pedrominicz

03/26/2022 at 11:14PM

19
#15 - Youssef Magdy / @youssef_magdy29

04/28/2022 at 01:55AM

19
#16 - Eviber / @youvaaaaa

04/30/2022 at 09:26PM

21
#17 - John Xu / @xzzhiao

04/06/2022 at 03:00PM

22
#18 - Smylers / @Smylers2

03/14/2022 at 11:12PM

22
#19 - Ramtin Martin / @martin_ramtin

03/25/2022 at 02:57AM

22
#20 - Brian Leung / @brian_leung

03/26/2022 at 02:45AM

23
#21 - Jon Krause / @jkrause314

03/13/2022 at 04:58PM

23
#22 - Daniel Harding / @living_180

04/14/2022 at 12:25PM

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

04/23/2022 at 11:13PM

23
#24 - sdfghjk / @sdfghjk88424595

04/27/2022 at 11:30PM

23
#25 - quemeraisc / @quemeraisc

05/02/2022 at 04:34PM

24
#26 - Elcio Ferreira / @elcio

03/14/2022 at 10:07PM

24
#27 - Terry Tsao / @TerryTsao9008

03/16/2022 at 04:44AM

24
#28 - Peter Salvi / @salvipeter

03/17/2022 at 12:30PM

24
#29 - Il Granfiatore / @M_Klauer

03/24/2022 at 03:22PM

24
#30 - xadrta / @xadrta

05/09/2022 at 02:41PM