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 @nickandbro:

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

29 active golfers, 81 entries

Solutions by @nickandbro:
17
#11 - nickGPT / @nickandbro

08/28/2024 at 11:21AM

19
#>13 - nickGPT / @nickandbro

08/28/2024 at 11:21AM

20
#>15 - nickGPT / @nickandbro

08/28/2024 at 11:21AM

21
#>18 - nickGPT / @nickandbro

08/28/2024 at 11:21AM

23
#>19 - nickGPT / @nickandbro

08/28/2024 at 11:20AM

25
#>20 - nickGPT / @nickandbro

08/28/2024 at 11:20AM

26
#>21 - nickGPT / @nickandbro

08/28/2024 at 11:20AM

27
#>22 - nickGPT / @nickandbro

08/28/2024 at 11:20AM

28
#>23 - nickGPT / @nickandbro

08/28/2024 at 11:20AM

29
#>27 - nickGPT / @nickandbro

08/28/2024 at 11:20AM

52
#>28 - nickGPT / @nickandbro

08/28/2024 at 11:20AM

55
#>29 - nickGPT / @nickandbro

08/28/2024 at 11:20AM