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 5052dd5c2a8bfe000200001c

Enharmonic Equivalents

Transform # and b to digraphs

Start file
Enharmonic Equivalents
C# = Db
D# = Eb
F# = Gb
G# = Ab
A# = Bb
End file
Enharmonic Equivalents
C♯ = D♭
D♯ = E♭
F♯ = G♭
G♯ = A♭
A♯ = B♭

View Diff

diff --git a/input.txt b/output.txt
index 6e3429b..52b2969 100644
--- a/input.txt
+++ b/output.txt
@@ -1,6 +1,6 @@
Enharmonic Equivalents
C#C♯ = Db
D#D♭
D♯ = Eb
F#E♭
F♯ = Gb
G#G♭
G♯ = Ab
A#A♭
A♯ = BbB♭

Solutions by @rmarvie:

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

37 active golfers, 59 entries

Solutions by @rmarvie:
19
#26 - r. / @rmarvie

12/25/2014 at 09:37AM