http://www.vimgolf.com/challenges/55f9720b4a665c2acf0008c8
Lower cased and dashed strings
As I have to generate big fixtures files, I wanted to find a way to format input data the way described by start and end files.
Especially the lower-cased-and-dashed ids
Not so good to find a pure Vim way, that's why I submit this challenge
Start file:
L么rem Ipsum
Dolor.eros
Auctor: eros (el茅mentum)
Tinc茂dunt, 芒c
End file:
lorem-ipsum:
name: "L么rem Ipsum"
dolor-eros:
name: "Dolor.eros"
auctor-eros-elementum:
name: "Auctor: eros (el茅mentum)"
tincidunt-ac:
name: "Tinc茂dunt, 芒c"
This one is already in the golf repo, but it鈥檚 from 2016 and 60 keystrokes vs Vim鈥檚 60, and I think we could do better.