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):
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

24
#10 - mevmev / @mevmev8

09/25/2021 at 03:49PM

24
#11 - Qing Liu / @poeminlash

09/03/2022 at 11:24PM

24
#12 - Peppa Pig / @PeppaPi95550250

06/29/2024 at 10:22AM

24
#13 - nickGPT / @nickandbro

08/28/2024 at 07:51PM

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

09/14/2012 at 02:32AM

25
#15 - Kerson Hsiao / @KersonHsiao

09/16/2012 at 03:32PM

25
#16 - roudens / @roudens2

03/14/2021 at 02:45PM

25
#17 - Michel Viktor / @tomkpz

08/01/2021 at 12:22AM

26
#18 - Justin Love / @wondible

09/16/2012 at 03:11AM

27
#19 - じょんあば / @john_ababa

09/16/2012 at 11:43AM

27
#20 - marmelad / @jordgubbssylt

11/17/2012 at 08:43AM

27
#21 - pftb12345 / @pftb12345

04/27/2015 at 12:03PM

29
#22 - Marcin Szamotulski / @me_coot

09/19/2012 at 08:18PM

29
#23 - Tullio Facchinetti / @toolleeo

07/25/2013 at 07:53PM

29
#24 - Иван / @wansmer

05/04/2023 at 06:31PM

31
#25 - Édouard M'tou / @DouardM

10/18/2012 at 08:57PM

32
#26 - retro / @tryphopp

12/20/2016 at 11:13PM

37
#27 - Jimmy McRascal / @JimmyMcRascal

07/16/2014 at 01:38AM

40
#28 - Øystein Walle / @oysteinwalle

09/14/2012 at 09:11PM

41
#29 - Dom Armstrong / @dom_cycleface

08/31/2013 at 05:50PM

42
#30 - 4L41N / @4L41N1

11/13/2012 at 09:07PM