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 24 remaining solutions by signing in and submitting your own entry
#25 Markus Lux / _l0x_ - Score: 45 - 01/03/17 @ 14:57
jDjqqi<C-R>"<Esc>2Wq12@qkddqqdt=kwPXxi<CR><Esc>+q12@qkla<Del><Esc>ZZ

0 comments

#26 Joel Gärtner / Jeerok - Score: 55 - 01/07/14 @ 15:50
:%s/ \+/ \r/g<CR><C-V>12kI = <Esc><C-V>3ll12jdgg3lp:14<CR>dGG:%s/\s\+$<CR>ZZ

0 comments

#27 Todd Holdman / toddfromfargo - Score: 58 - 09/14/12 @ 21:03
qqGvt "uxx''ea  = <Esc>"upa<CR><Esc>q12@qkkvkjJJ2gglllx13Glli <Esc>:w<CR>:q<CR>

0 comments

#28 Oliver Christ / 0liverChrist - Score: 60 - 11/11/13 @ 22:19
jddkJ:s/\s\+/\r/g<CR>:set et ts=4<CR>13Gqq13jdd12kpkA<Tab>= <Esc>J-q12@qZZ

0 comments

#29 Peter Lacey-Bordeaux / placeybordeaux - Score: 85 - 09/28/12 @ 17:36
qqe9a <Esc>5|r=llldwi<CR><Esc>q11@q@qdddd1G$rCjrGjrDjRA<Down><Left>E<Down><Left>B<Down><Left>F#<Down><Left>C#<Down><Left>G#<Down><Left>D#<Down><Left>A#<Down><Left>F<Down><Left><Right>C<Esc>jdd:wq<CR>

0 comments

#30 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

30 active golfers, 61 entries

Leaderboard (lowest score wins):
24
#1 - Conner McDaniel / connermcd

09/14/2012 at 05:11AM

24
#2 - tmr / tmr314

09/14/2012 at 07:38PM

24
#3 - Urtica dioica / udioica

10/19/2012 at 03:04PM

24
#4 - Victor Ramirez / virako

10/20/2012 at 12:09AM

24
#5 - Ingo / ist3fani

06/01/2013 at 06:16PM

24
#6 - Anton Davydov / anton_davydov

01/04/2014 at 03:30PM

24
#7 - oliver mueller / marcontwit

01/09/2014 at 08:07AM

24
#8 - Joonas Pihlajamaa / jokkebk

03/28/2014 at 02:51PM

24
#9 - John Braxler / braxler

09/26/2014 at 06:24PM

25
#10 - h_east (トロッコ6個) / h_east

09/14/2012 at 02:32AM

25
#11 - Kerson Hsiao / KersonHsiao

09/16/2012 at 03:32PM

26
#12 - Justin Love / wondible

09/16/2012 at 03:11AM

27
#13 - 無ん垢の叫び / john_ababa

09/16/2012 at 11:43AM

27
#14 - marmelad / jordgubbssylt

11/17/2012 at 08:43AM

27
#15 - pftb12345 / pftb12345

04/27/2015 at 12:03PM

29
#16 - Marcin Sza / coot_

09/19/2012 at 08:18PM

29
#17 - Tullio Facchinetti / toolleeo

07/25/2013 at 07:53PM

31
#18 - Édouard M'tou / DouardM

10/18/2012 at 08:57PM

32
#19 - retro / tryphopp

12/20/2016 at 11:13PM

37
#20 - Jimmy McRascal / JimmyMcRascal

07/16/2014 at 01:38AM

40
#21 - Øystein Walle / oysteinwalle

09/14/2012 at 09:11PM

41
#22 - Dom Armstrong / dom_cycleface

08/31/2013 at 05:50PM

42
#23 - 4L41N / 4L41N1

11/13/2012 at 09:07PM

45
#24 - James / Dronak

09/07/2013 at 03:50AM

45
#25 - Markus Lux / _l0x_

01/03/2017 at 02:57PM

55
#26 - Joel Gärtner / Jeerok

01/07/2014 at 03:50PM

58
#27 - Todd Holdman / toddfromfargo

09/14/2012 at 09:03PM

60
#28 - Oliver Christ / 0liverChrist

11/11/2013 at 10:19PM

85
#29 - Peter Lacey-Bordeaux / placeybordeaux

09/28/2012 at 05:36PM

301
#30 - Nicolas Goles / ngoles

09/18/2012 at 03:54PM