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):
38
#91 - Léo / @Leo58369183

08/23/2022 at 12:55PM

38
#92 - Иван / @wansmer

04/23/2023 at 02:17PM

39
#93 - vimbroesel / @vimbroesel

03/19/2022 at 05:34PM

39
#94 - Sammit / @somemeatjain

04/03/2022 at 02:09PM

40
#95 - タケ / @Take3832

04/18/2022 at 03:32PM

41
#96 - Noah Moss / @noahbmoss

03/30/2022 at 09:27PM

41
#97 - Javier Contreras / @contranton

05/04/2022 at 03:28AM

42
#98 - pusha t daily / @rudellius

04/08/2022 at 09:23PM

42
#99 - Dominc Zimmer / @DomincZimmer

04/12/2022 at 08:52AM

42
#100 - Александр Черенков / @AleksandrCeren3

08/05/2022 at 11:47PM

42
#101 - Dr. Peťko / @PetkoDr

09/13/2022 at 04:34PM

42
#102 - Zhao Kai / @Kai22832

10/28/2022 at 07:00AM

42
#103 - Nicholas Healy / @nickrhealy

12/24/2022 at 11:17AM

43
#104 - samuel erlands / @ErlandsSam52210

08/25/2023 at 08:37AM

44
#105 - ohwell / @KiranClose

07/30/2022 at 05:01PM

46
#106 - jofene / @jofene2

05/07/2022 at 08:42AM

46
#107 - Rammia🇨🇳 / @rammiahcn

07/11/2022 at 03:47PM

46
#108 - Eugene Yalansky / @EugeneYalansky

06/21/2023 at 02:57AM

47
#109 - dakmuk / @yeongha_yang

01/02/2023 at 02:25PM

48
#110 - Leo Winters / @LeoPWinters

04/03/2022 at 07:17PM

48
#111 - pbwn / @pbwn

04/06/2023 at 07:12AM

49
#112 - Niklas Gustafson / @GustafsonNiklas

04/16/2022 at 07:37PM

49
#113 - Jovi  / @jovinh0_

05/08/2022 at 09:41AM

49
#114 - funky_koval / @iam_funky_koval

05/15/2022 at 08:46PM

50
#115 - rnakai / @rnakai_42

03/30/2022 at 09:46AM

50
#116 - Alex Pepper / @pepper18608

09/15/2023 at 04:13PM

51
#117 - low huron / @huron_low

01/22/2023 at 07:25AM

52
#118 - math is what I hate / @mpnmbn

03/13/2022 at 01:39PM

52
#119 - vimgolfaccfekxh / @vimgolfaccfekxh

10/19/2022 at 03:28PM

52
#120 - Daniel Nettelfield / @DNIIBOY

12/11/2022 at 09:31PM