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

192 active golfers, 1041 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

17
#4 - 조정모 / @zzzqqqgggfff

04/15/2023 at 10:57AM

17
#5 - Topvimgolf Score / @topvimgolfscore

06/18/2023 at 06:59AM

17
#6 - moh ayaya / @AyayaMoh

08/22/2023 at 05:47PM

17
#7 - scpchicken / @scpchick

10/19/2023 at 06:15PM

17
#8 - LandR / @ListenAndR

10/23/2023 at 08:43AM

17
#9 - tien / @tien40766111

11/13/2023 at 01:30PM

17
#10 - Berel94 / @Berel94

03/06/2024 at 09:37PM

17
#11 - Aly Thobani / @alythobani

04/04/2024 at 06:27PM

17
#12 - Peppa Pig / @PeppaPi95550250

06/01/2024 at 01:31PM

18
#13 - Jean George / @JeanGeo20504212

04/06/2022 at 03:37PM

18
#14 - Jeremy Campbell / @rwrdb

04/11/2022 at 01:10PM

18
#15 - ff df / @ffdf93207177

04/18/2022 at 02:26AM

18
#16 - Tom11w / @Tom11Wh

04/24/2022 at 07:41AM

18
#17 - yancy / @yancy_dong

04/28/2022 at 03:33PM

18
#18 - Marc Jethro Avila / @maje_avila

05/07/2022 at 02:47PM

18
#19 - Ryan Murphy / @RyanMur92693753

05/08/2022 at 10:42PM

18
#20 - Pablo Cárdenas / @pablo_cardenasb

05/19/2022 at 02:06AM

18
#21 - russellzhaomao / @russellzhaomao

05/19/2022 at 06:07AM

18
#22 - jcbglbmn / @JacobGelbman

05/20/2022 at 09:37PM

18
#23 - Robberechts Arne / @ArneRobberechts

05/21/2022 at 06:27PM

18
#24 - Irakli Chigvaria / @tchigvaria

05/23/2022 at 04:39AM

18
#25 - Mario / @MarioWolfe

06/19/2022 at 03:53AM

18
#26 - Peter Nyssen / @PeterNyssen

06/20/2022 at 12:10PM

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

06/23/2022 at 02:55AM

18
#28 - Ekalos / @_Ekalos

07/03/2022 at 08:14AM

18
#29 - Eivind Jahren / @HaskellElephant

09/14/2022 at 06:32PM

18
#30 - Leroy Jenkins / @LeroyJe70429357

09/16/2022 at 09:48PM