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 541022801a2d8b0002238a17

Roman numerals

Use the substitutions on top to convert unary to Roman numerals.

Start file
IIIII,V
IIII,IV
VV,X
VIV,IX
XXXXX,L
XXXX,XL

III
IIII
IIIII
IIIIIII
IIIIIIIII
IIIIIIIIII
IIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
 vim: set gdefault:
End file
IIIII,V
IIII,IV
VV,X
VIV,IX
XXXXX,L
XXXX,XL

III
IV
V
VII
IX
X
XVIII
XXI
XXXIX
XL
XLIV
L
LXIV
 vim: set gdefault:

View Diff

9,20c9,20
< IIII
< IIIII
< IIIIIII
< IIIIIIIII
< IIIIIIIIII
< IIIIIIIIIIIIIIIIII
< IIIIIIIIIIIIIIIIIIIII
< IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
< IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
< IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
< IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
< IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
---
> IV
> V
> VII
> IX
> X
> XVIII
> XXI
> XXXIX
> XL
> XLIV
> L
> LXIV

Solutions by @mnxx:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @udioica

29 active golfers, 81 entries

Solutions by @mnxx:
25
#20 - mnx / @mnxx

09/10/2014 at 02:42PM

26
#>20 - mnx / @mnxx

09/10/2014 at 02:31PM

27
#>21 - mnx / @mnxx

09/10/2014 at 02:26PM

28
#>22 - mnx / @mnxx

09/10/2014 at 12:38PM