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 4d1cc35a35b40650b800043a

Increment, increment, increment....

Vim likes macros

Start file
1
End file
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

View Diff

1a2,25
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> 11
> 12
> 13
> 14
> 15
> 16
> 17
> 18
> 19
> 20
> 21
> 22
> 23
> 24
> 25

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 334 remaining solutions by signing in and submitting your own entry
#335 blizzow / @blizzow - Score: 71 - 08/15/16 @ 22:08
s1<CR>2<CR>3<CR>4<CR>5<CR>6<CR>7<CR>8<CR>9<CR>10<CR>11<CR>12<CR>13<CR>14<CR>15<CR>16<CR>17<CR>18<CR>19<CR>20<CR>21<CR>22<CR>23<CR>24<CR>25<Esc>:wq<CR>

0 comments


Created by: @rodmar_

335 active golfers, 491 entries

Leaderboard (lowest score wins):
12
#181 - Cat Dragon / @catragon

05/04/2012 at 11:28AM

12
#182 - ミゲ / @tsumaranaikedo

05/05/2012 at 03:30AM

12
#183 - Kerson Hsiao / @KersonHsiao

05/06/2012 at 02:22PM

12
#184 - ise0615 / @ise0615

05/25/2012 at 05:57PM

12
#185 - Toto l'haricot / @nico_le_terribl

06/30/2012 at 12:48AM

12
#186 - Andrew D. Wong / @andrewdwong

07/16/2012 at 05:55PM

12
#187 - Arto Vuori / @dhpe

09/01/2012 at 06:43PM

12
#188 - Conner McDaniel / @connermcd

09/19/2012 at 04:30AM

12
#189 - Vim rocks / @vimrocks

10/08/2012 at 10:30PM

12
#190 - Lance Levine / @LanceSMLevine

10/10/2012 at 05:40AM

12
#191 - matthew keesan / @keesan

10/24/2012 at 12:37PM

12
#192 - Drew Neil / @nelstrom

11/26/2012 at 11:42PM

12
#193 - Marcin Sza / @coot_

12/05/2012 at 04:13PM

12
#194 - Michael / @patheticpat

12/16/2012 at 07:30PM

12
#195 - Alex Hammel / @AlexJHammel

12/23/2012 at 06:34PM

12
#196 - JonLz / @LzJon

12/26/2012 at 08:14PM

12
#197 - Hubba / @HubbaBubbaFett

12/28/2012 at 09:20PM

12
#198 - Runar / @runarfu

01/12/2013 at 04:36PM

12
#199 - Asmund / @herrasbe

01/20/2013 at 08:32PM

12
#200 - Yann Moisan / @YannMoisan

01/26/2013 at 11:40PM

12
#201 - Pedro Franceschi / @pedroh96

02/06/2013 at 02:29AM

12
#202 - Adam Bell / @adamgbell

03/21/2013 at 10:05PM

12
#203 - Dan Williams / @deft_of_center

04/02/2013 at 11:41PM

12
#204 - Justin / @justinjaffray

04/24/2013 at 01:35PM

12
#205 - Global Maquereau / @GlobalMaquereau

04/24/2013 at 02:43PM

12
#206 - Gtranbot / @gtranbot

04/27/2013 at 10:16AM

12
#207 - Aaron Josephs / @aaronjosephs1

05/02/2013 at 02:47AM

12
#208 - Vito / @GodFather

05/19/2013 at 11:30PM

12
#209 - Marco Hinz / @_mhinz_

05/21/2013 at 02:55PM

12
#210 - Timothée Gauthier / @zmf_tim

07/07/2013 at 10:12AM