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):
57
#151 - ylv / @ylv_io

04/01/2022 at 10:08PM

57
#152 - Yannick / @Yannick88147038

07/19/2022 at 07:26PM

58
#153 - anonymouse / @anonymo65837183

04/03/2022 at 05:24PM

58
#154 - James Duffy / @jduffy3

04/09/2022 at 07:32PM

59
#155 - Nougatine Naja / @NougatineNaja

04/06/2022 at 11:42AM

59
#156 - 梅 / @umetosawara

04/09/2022 at 07:37AM

59
#157 - Thomas Hiron / @thomashiron

02/20/2023 at 10:48AM

60
#158 - Fedleder / @fedleder

03/18/2022 at 09:12PM

61
#159 - dorianm / @dorianm

03/28/2022 at 04:27AM

62
#160 - hey / @jkijkftufty

05/06/2022 at 06:05PM

62
#161 - Ramil Gadzhiev / @RamiGaggi

08/27/2022 at 01:12PM

62
#162 - Valentin Vikhorev / @vvihorev

04/15/2024 at 08:36PM

64
#163 - lytoooo0 / @lytoooo0

02/27/2023 at 11:45AM

65
#164 - Strageslol / @Strageslol

06/03/2022 at 10:46AM

67
#165 - delnoch / @delnoch1

04/16/2022 at 05:50AM

67
#166 - Raul / @Raul-H

05/12/2024 at 07:24PM

69
#167 - Detached Head State / @DtachdHeadState

09/07/2023 at 06:06PM

70
#168 - Zachary Peterson / @zpeterson16

04/15/2022 at 05:01AM

72
#169 - サイシ / @tairar_314

05/08/2022 at 09:26PM

74
#170 - Andreas Aumann / @andreasaumann

03/20/2022 at 11:09AM

74
#171 - romache8 / @romache8

01/31/2024 at 03:37PM

80
#172 - Cyber Security Daily News / @can_uygan

03/28/2022 at 11:36AM

80
#173 - djheidihoe / @djheidihoe1

07/18/2022 at 09:30PM

81
#174 - Vitaliy A / @_vitaliy_a

05/05/2022 at 01:53PM

91
#175 - Himanshu Tank / @himanshutank75

10/17/2022 at 03:26PM

93
#176 - ysw505 / @ysw505

01/16/2024 at 02:54PM

99
#177 - Ed Allison / @eallison1102

05/14/2022 at 10:05PM

104
#178 - brennovich / @brennovich

04/01/2022 at 01:21PM

105
#179 - Adi Ron / @notadiron

05/22/2023 at 10:51AM

109
#180 - Siddharth Murali / @SidTweetsALess

06/24/2022 at 10:35AM