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):
34
#61 - gugik / @rafgugi

04/27/2022 at 02:57PM

34
#62 - Alex / @AlexanderHeatl2

06/30/2022 at 11:20PM

35
#63 - sean.yang / @seanyangc

03/18/2022 at 06:10AM

35
#64 - Lyren Brown / @LyrenBrown

05/02/2022 at 06:17AM

36
#65 - sarah.getter / @sarahgetter82

03/21/2022 at 05:59AM

36
#66 - steve / @steve35773420

11/20/2022 at 01:17PM

38
#67 - Léo / @Leo58369183

08/23/2022 at 12:55PM

39
#68 - vimbroesel / @vimbroesel

03/19/2022 at 05:34PM

39
#69 - Sammit / @somemeatjain

04/03/2022 at 02:09PM

40
#70 - タケ / @Take3832

04/18/2022 at 03:32PM

41
#71 - Noah Moss / @noahbmoss

03/30/2022 at 09:27PM

41
#72 - Javier Contreras / @contranton

05/04/2022 at 03:28AM

42
#73 - pusha t daily / @rudellius

04/08/2022 at 09:23PM

42
#74 - Dominc Zimmer / @DomincZimmer

04/12/2022 at 08:52AM

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

08/05/2022 at 11:47PM

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

09/13/2022 at 04:34PM

42
#77 - Zhao Kai / @Kai22832

10/28/2022 at 07:00AM

44
#78 - Kiran Rajpurohit / @KiranClose

07/30/2022 at 05:01PM

46
#79 - jofene / @jofene2

05/07/2022 at 08:42AM

46
#80 - Rammia🇨🇳 / @rammiahcn

07/11/2022 at 03:47PM

48
#81 - Leo Winters / @LeoPWinters

04/03/2022 at 07:17PM

49
#82 - Niklas Gustafson / @GustafsonNiklas

04/16/2022 at 07:37PM

49
#83 - Jovi  / @jovinh0_

05/08/2022 at 09:41AM

49
#84 - funky_koval / @iam_funky_koval

05/15/2022 at 08:46PM

50
#85 - rnakai / @rnakai_42

03/30/2022 at 09:46AM

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

03/13/2022 at 01:39PM

52
#87 - vimgolfaccfekxh / @vimgolfaccfekxh

10/19/2022 at 03:28PM

53
#88 - Jacob Puthipiroj / @puthipiroj

06/21/2022 at 09:17AM

55
#89 - POSIX / @po6ix

04/06/2022 at 01:05PM

55
#90 - Ratkovszki István / @RatkovszkiIstvn

09/05/2022 at 02:05PM