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 50502d985cfbf50002000022

NATO phonetic alphabet

Transform the series of words into a list.

Start file
Alfa Bravo Charlie Delta Echo Foxtrot Golf Hotel India Juliet Kilo Lima Mike November Oscar Papa Quebec Romeo Sierra Tengo Uniform Victor Whiskey Xray Yankee Zulu
End file
A = Alfa
B = Bravo
C = Charlie
D = Delta
E = Echo
F = Foxtrot
G = Golf
H = Hotel
I = India
J = Juliet
K = Kilo
L = Lima
M = Mike
N = November
O = Oscar
P = Papa
Q = Quebec
R = Romeo
S = Sierra
T = Tengo
U = Uniform
V = Victor
W = Whiskey
X = Xray
Y = Yankee
Z = Zulu

View Diff

diff --git a/input.txt b/output.txt
index 0a4121f..1ab8b7c 100644
--- a/input.txt
+++ b/output.txt
@@ -1 +1,26 @@
A = Alfa
B = Bravo
C = Charlie
D = Delta
E = Echo
F = Foxtrot
G = Golf
H = Hotel
I = India
J = Juliet
K = Kilo
L = Lima
M = Mike
N = November
O = Oscar
P = Papa
Q = Quebec
R = Romeo
S = Sierra
T = Tengo
U = Uniform
V = Victor
W = Whiskey
X = Xray
Y = Yankee
Z = Zulu

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 157 remaining solutions by signing in and submitting your own entry
#158 Ravi S Sinha / @ambidextrousTx - Score: 41 - 09/12/12 @ 22:52
:%s/ /\r/g<CR>qaxPa = <Esc>pqk0vgg:norm @a<CR><Esc>:wq<CR>

0 comments


Created by: @DiffJunk

158 active golfers, 407 entries

Leaderboard (lowest score wins):
19
#31 - Daniel / @Daniel00288663

04/04/2017 at 09:22AM

19
#32 - Turkey Man / @lvturkeyman

11/27/2017 at 02:59PM

19
#33 - BarbaJol / @drpproteus

01/10/2018 at 06:25PM

19
#34 - Smylers / @Smylers2

02/22/2018 at 09:28AM

19
#35 - Evgeny`s Kindle / @EvgenyKindle

04/30/2018 at 08:07AM

19
#36 - DHM / @DHM29978992

05/03/2018 at 03:53AM

19
#37 - Daniël De Koker / @daniel_koker

08/13/2018 at 09:24PM

19
#38 - Nick Yeow / @nickyeow

05/23/2019 at 12:22PM

19
#39 - deurzen / @devrzen

06/06/2019 at 03:16PM

19
#40 - spock900 / @spock9002

08/25/2019 at 04:37PM

19
#41 - Kenny Low / @kennylow

08/26/2019 at 12:19PM

19
#42 - vimRunnerUp3000 / @VUp3000

09/02/2019 at 05:44PM

20
#43 - S. Brent Faulkner / @sbfaulkner

09/14/2012 at 03:54PM

20
#44 - Matt Robbins / @mcrmfc

11/26/2014 at 06:04PM

20
#45 - Mihai / @mihaicristiant

03/18/2019 at 08:29AM

21
#46 - Kerson Hsiao / @KersonHsiao

09/12/2012 at 07:33AM

21
#47 - Tesnorth / @Tesnorth

09/12/2012 at 09:14AM

21
#48 - Joachim / @jodles89

09/12/2012 at 06:48PM

21
#49 - cameron / @cameronaustgen

09/13/2012 at 01:12AM

21
#50 - tmr / @tmr314

09/14/2012 at 06:28PM

21
#51 - Justin Love / @wondible

09/15/2012 at 03:02AM

21
#52 - Mihai Mazilu / @mtmazilu

09/21/2012 at 02:41PM

21
#53 - Federico Bond / @federicobond

09/23/2012 at 04:48AM

21
#54 - Carsten Zimmermann / @carpgezwitscher

09/28/2012 at 12:19PM

21
#55 - Andrea Francia / @andreafrancia

10/06/2012 at 12:39PM

21
#56 - Édouard M'tou / @DouardM

10/08/2012 at 06:16PM

21
#57 - Tom Cammann / @tea_sea

10/09/2012 at 11:01PM

21
#58 - Marcin Sza / @coot_

10/14/2012 at 10:20AM

21
#59 - Serge Pirotte / @SergePirotte

10/18/2012 at 06:20PM

21
#60 - A / @a_akessler

11/02/2012 at 05:43PM