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 320 remaining solutions by signing in and submitting your own entry
#321 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_

321 active golfers, 466 entries

Leaderboard (lowest score wins):
10
#1 - Urtica dioica / @udioica

06/25/2015 at 06:06PM

10
#2 - Elizabeth / @sprinkles418

07/17/2015 at 02:05AM

10
#3 - kris / @0xkrp

11/13/2015 at 01:06PM

10
#4 - Mathias / @wizhie

01/15/2016 at 08:39PM

10
#5 - Jon Krause / @jkrause314

01/18/2016 at 08:49PM

10
#6 - Ralf Haffa / @fatslo

02/27/2016 at 10:35PM

10
#7 - Tom Harada / @p10q

04/25/2016 at 05:44AM

10
#8 - Ikypiky / @nerdbeereis

06/15/2016 at 09:14PM

10
#9 - Peter Brynza / @v3_1

08/28/2016 at 07:34PM

10
#10 - Bowen Masco / @codingfoo

09/16/2016 at 08:15PM

10
#11 - 子皓翁 / @geniusgordon

10/25/2016 at 09:06AM

10
#12 - Jim Bob / @babyclubber

02/28/2017 at 12:16AM

10
#13 - Anthony George / @Xanuthatusu

06/19/2017 at 07:23PM

10
#14 - Turkey Man / @lvturkeyman

11/28/2017 at 06:04AM

10
#15 - Thomas Royer / @Cydonia7

03/11/2018 at 01:33AM

10
#16 - Evgeny`s Kindle / @EvgenyKindle

04/24/2018 at 09:29AM

10
#17 - Rui Su / @RuiSuTwi

05/04/2018 at 09:34PM

10
#18 - NOT Takinashi / @TaleLore

06/24/2018 at 03:20AM

10
#19 - slicklash / @slicklash

06/28/2018 at 12:26PM

10
#20 - Micheal Wells / @michealwwells

08/10/2018 at 05:36PM

10
#21 - Epecb / @BceEpecb

09/03/2018 at 07:46PM

10
#22 - John Braxler / @braxler

09/28/2018 at 01:31PM

10
#23 - Eric Moss / @NotEricMoss

11/05/2018 at 02:18PM

12
#24 - Rodolphe Marques / @rodmar_

12/30/2010 at 05:38PM

12
#25 - Aurélien Delahaye / @alkove

12/30/2010 at 05:44PM

12
#26 - space for rent / @raf_whispering

12/30/2010 at 05:44PM

12
#27 - h_east (トロッコ6個) / @h_east

12/30/2010 at 05:47PM

12
#28 - scott / @SetecAstronomy

12/30/2010 at 05:53PM

12
#29 - Johannes Martinsson / @moxiba

12/30/2010 at 05:56PM

12
#30 - Josh Weinberg / @jcweinberg

12/30/2010 at 05:56PM