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

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

37 active golfers, 59 entries

Solutions by @mcr05:
18
#9 - Matt / @mcr05

01/10/2015 at 07:31PM

19
#>26 - Matt / @mcr05

01/10/2015 at 07:29PM