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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 30 remaining solutions by signing in and submitting your own entry
#31 Raphaël De Giusti / @raphdg - Score: 23 - 09/14/12 @ 08:25
jl<C-V>jjjjr<0xe2><0x99><0xaf>$<C-V>jjjjr<0xe2><0x99><0xad>ZZ

0 comments


Created by: @DiffJunk

31 active golfers, 52 entries

Leaderboard (lowest score wins):
23
#31 - Raphaël De Giusti / @raphdg

09/14/2012 at 08:25AM