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 547dae4372572300022c560e

Simple Maths

Not much to say, discover by yourself!

Start file
1
37
456
1013
498934
26456821
1658
168813
3574
6557
815
147
65465456
End file
41
12
14
23
19
27
20
34
37
5
15
10
1

View Diff

1c1,8
< 1
---
> 41
> 12
> 14
> 23
> 19
> 27
> 20
> 34
3,13c10,13
< 456
< 1013
< 498934
< 26456821
< 1658
< 168813
< 3574
< 6557
< 815
< 147
< 65465456
---
> 5
> 15
> 10
> 1

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 13 remaining solutions by signing in and submitting your own entry
#14 Tojo Chacko / tojochacko - Score: 39 - 12/04/14 @ 07:50
<Esc>:g/./m0<CR>qq:s//+&/g<CR>C<C-R>=<C-R>"<CR><Esc>+q22@q<Esc>:wq!<CR>

0 comments

#15 VpzomTrrfrt / vpzomtrrfrt - Score: 43 - 03/28/17 @ 01:13
jdGO41<CR>12<CR>14<CR>23<CR>19<CR>27<CR>20<CR>34<CR>37<CR>5<CR>15<CR>10<Esc>:wq<CR>

0 comments

#16 jakeroberts / jakeroberts - Score: 47 - 05/29/17 @ 17:33
qq:s/./+&/g<CR>C<C-R>=<C-R>"<CR><Esc>+q12@q:g/%/m0<CR>:g/%<BS>6<BS>^/m0<CR>ZZ

0 comments

#17 Jakob Schnell / Koebischnell - Score: 62 - 12/28/16 @ 22:20
O10<Home><CR><Up>15<Esc>O5<Esc>O37<Esc>O34<Esc>O20<Esc>O27<Esc>O19<Esc>O23<Esc>O14<Esc>O12<Esc>O41<Esc>:37<CR><Esc>:14<CR>dG<Esc>ZZ

0 comments

Created by: mcr05

17 active golfers, 25 entries

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

12/02/2014 at 09:16PM

26
#2 - John Braxler / braxler

12/03/2014 at 02:45PM

28
#3 - Petro Тrouq / zulolosi

12/02/2014 at 08:29PM

31
#4 - Jon Krause / jkrause314

01/08/2016 at 07:59AM

33
#5 - Tim Chase / gumnos

12/02/2014 at 12:55PM

33
#6 - Kai Yuan / kentyuan

12/02/2014 at 01:22PM

33
#7 - Hans Liu / zhansliu

12/04/2014 at 08:02PM

34
#8 - Carlos López / morrizon

12/02/2014 at 03:52PM

34
#9 - Pierre Houssin / PierreHoussin

12/06/2014 at 04:04PM

34
#10 - mnx / mnxx

12/09/2014 at 09:47AM

35
#11 - Matthieu Crapet / mcr05

12/03/2014 at 09:22AM

35
#12 - limenghong / LeoLpfish

12/04/2014 at 10:26AM

35
#13 - Jakob / jajob

12/17/2014 at 07:39AM

39
#14 - Tojo Chacko / tojochacko

12/04/2014 at 07:50AM

43
#15 - VpzomTrrfrt / vpzomtrrfrt

03/28/2017 at 01:13AM

47
#16 - jakeroberts / jakeroberts

05/29/2017 at 05:33PM

62
#17 - Jakob Schnell / Koebischnell

12/28/2016 at 10:20PM