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):
59
#61 - 梅 / @umetosawara

04/09/2022 at 07:37AM

60
#62 - Fedleder / @fedleder

03/18/2022 at 09:12PM

61
#63 - dorianm / @dorianm

03/28/2022 at 04:27AM

62
#64 - hey / @jkijkftufty

05/06/2022 at 06:05PM

67
#65 - delnoch / @delnoch1

04/16/2022 at 05:50AM

70
#66 - Zachary Peterson / @zpeterson16

04/15/2022 at 05:01AM

72
#67 - サイシ / @tairar_314

05/08/2022 at 09:26PM

74
#68 - Andreas Aumann / @andreasaumann

03/20/2022 at 11:09AM

80
#69 - Cyber Security Daily News / @can_uygan

03/28/2022 at 11:36AM

81
#70 - Vitaliy A / @_vitaliy_a

05/05/2022 at 01:53PM

99
#71 - Ed Allison / @eallison1102

05/14/2022 at 10:05PM

104
#72 - brennovich / @brennovich

04/01/2022 at 01:21PM

117
#73 - Weipeng He / @he_weipeng

04/04/2022 at 09:01PM

155
#74 - Alex Liu / @liualexliualex

05/21/2022 at 07:19AM

160
#75 - Benjamin / @benjamin_le_

05/18/2022 at 08:52AM

172
#76 - Mohammad Zandsalimy / @ahama92

05/02/2022 at 08:08AM

183
#77 - 盧小小 / @VegetaLu

04/01/2022 at 02:42PM