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

77 active golfers, 354 entries

Leaderboard (lowest score wins):
29
#31 - JustHereForTheVim / @Here4Vimgolf

05/09/2022 at 07:53PM

30
#32 - Jason Kuan | jasonkuan.eth / @Jason9075Kuan

04/06/2022 at 05:44AM

30
#33 - ._. / @Katharsic

04/24/2022 at 06:52AM

34
#34 - Saki Gw / @Sakigw

03/14/2022 at 07:38AM

34
#35 - Ricardo Lima / @ricponteslima

03/17/2022 at 04:51PM

34
#36 - gugik / @rafgugi

04/27/2022 at 02:57PM

35
#37 - sean.yang / @seanyangc

03/18/2022 at 06:10AM

35
#38 - Lyren Brown / @LyrenBrown

05/02/2022 at 06:17AM

36
#39 - sarah.getter / @sarahgetter82

03/21/2022 at 05:59AM

39
#40 - vimbroesel / @vimbroesel

03/19/2022 at 05:34PM

39
#41 - Sammit / @somemeatjain

04/03/2022 at 02:09PM

40
#42 - タケ / @Take3832

04/18/2022 at 03:32PM

41
#43 - Noah Moss / @noahbmoss

03/30/2022 at 09:27PM

41
#44 - Javier Contreras / @contranton

05/04/2022 at 03:28AM

42
#45 - pusha t daily / @rudellius

04/08/2022 at 09:23PM

42
#46 - Dominc Zimmer / @DomincZimmer

04/12/2022 at 08:52AM

46
#47 - jofene / @jofene2

05/07/2022 at 08:42AM

48
#48 - Leo Winters / @LeoPWinters

04/03/2022 at 07:17PM

49
#49 - Niklas Gustafson / @GustafsonNiklas

04/16/2022 at 07:37PM

49
#50 - Jovi  / @jovinh0_

05/08/2022 at 09:41AM

49
#51 - funky_koval / @iam_funky_koval

05/15/2022 at 08:46PM

50
#52 - rnakai / @rnakai_42

03/30/2022 at 09:46AM

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

03/13/2022 at 01:39PM

52
#54 - Alex / @AlexanderHeatl2

05/21/2022 at 08:53PM

55
#55 - POSIX / @po6ix

04/06/2022 at 01:05PM

56
#56 - aalegrias / @aalegrias

03/25/2022 at 08:30PM

57
#57 - ylv / @ylv_io

04/01/2022 at 10:08PM

58
#58 - anonymouse / @anonymo65837183

04/03/2022 at 05:24PM

58
#59 - James Duffy / @jduffy3

04/09/2022 at 07:32PM

59
#60 - Nougatine Naja / @NougatineNaja

04/06/2022 at 11:42AM