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

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 Nicolas Goles / @ngoles - Score: 301 - 09/18/12 @ 15:54
wu<CR>kjkwi<CR><Esc>wi<CR><Esc>wi<CR><Esc>;wi<CR><Esc>.<BS>ddkjwi<CR><Esc><C-R><C-R>wi<CR><Esc>wi<CR><Esc>wi<CR><Esc>wi<CR><Esc>wi<CR><Esc>wi<CR><Esc>wi<CR>kj<BS><BS>j<BS><Esc>jdd1GA[<BS><Esc>p<BS>wi<BS><BS><Esc>wvf$<Esc>dwpkjpjpjpjpjpjpjpjpjpjpjpjp<Esc>bi <Esc>bjdd1GA<Esc>pi<BS><Esc>wwvfC;dA<BS><Esc>jp<Esc>FD;vfC;dA<BS><Esc>jpvfvFD;wdA<BS><Esc>jp<Esc>vFE;djpvFBdjpvFF;djpvFCdjpvFGdjpvFDdjpvFAdjpvFFdjpa<BS><BS><Esc>jaC<Esc>A<Esc>jkAj<BS><Esc>kAu<BS><BS><Esc>jkkA<BS><Esc>kA<BS>kj<BS><BS><Esc>kA<BS><Esc>kA<BS><Esc>kA<BS><Esc>kA<BS><Esc>kA<BS>kj<BS><BS><Esc>kA<BS><Esc>u<Esc>kA<Esc>kA<Esc>:wq<CR>

0 comments


Created by: @DiffJunk

31 active golfers, 71 entries

Leaderboard (lowest score wins):
301
#31 - Nicolas Goles / @ngoles

09/18/2012 at 03:54PM