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 50525d0730c82d0002000077

Circle of Fifths with Sharps

Display a list of the Circle of Fifths with corresponding solfege syllables with sharps. Handling spaces may be tricky.

Start file
Do  Sol Re  La  Mi  Ti  Fi  Di  Si  Ri  Li  Fa  Do 
 = 
C G D A E B F# C# G# D# A# F C
End file
Do  = C
Sol = G
Re  = D
La  = A
Mi  = E
Ti  = B
Fi  = F#
Di  = C#
Si  = G#
Ri  = D#
Li  = A#
Fa  = F
Do  = C

View Diff

diff --git a/input.txt b/output.txt
index e18dafd..992aadd 100644
--- a/input.txt
+++ b/output.txt
@@ -1,3 +1,13 @@
DoSol Re  La  Mi  Ti  Fi  Di  Si  Ri  Li  Fa  Do  = C
Sol = G
Re  = D
La  = A
Mi  = E
Ti  = B
Fi  = F#
Di  = C#
Si  = G#
Ri  = D#
Li  = A#
Fa  = F
Do  = C

Solutions by @KersonHsiao:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @DiffJunk

38 active golfers, 114 entries

Solutions by @KersonHsiao:
25
#15 - Kerson Hsiao / @KersonHsiao

09/16/2012 at 03:32PM