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 37 remaining solutions by signing in and submitting your own entry
#38 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

38 active golfers, 114 entries

Leaderboard (lowest score wins):
45
#31 - James / @Dronak

09/07/2013 at 03:50AM

45
#32 - Markus Lux / @_l0x_

01/03/2017 at 02:57PM

55
#33 - Joel Gärtner / @Jeerok

01/07/2014 at 03:50PM

58
#34 - Todd Holdman / @toddfromfargo

09/14/2012 at 09:03PM

60
#35 - Oliver Christ / @0liverChrist

11/11/2013 at 10:19PM

60
#36 - shahanavaz m / @shahanavazm

04/01/2024 at 06:47PM

85
#37 - Peter Lacey-Bordeaux / @placeybordeaux

09/28/2012 at 05:36PM

301
#38 - Nicolas Goles / @ngoles

09/18/2012 at 03:54PM