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

152 active golfers, 382 entries

Leaderboard (lowest score wins):
19
#1 - Urtica dioica / @udioica

09/12/2012 at 08:27AM

19
#2 - Domon / @Domon

09/12/2012 at 09:48AM

19
#3 - Tim Chase / @gumnos

09/12/2012 at 11:12AM

19
#4 - Jiří Chára / @JiriChara

09/12/2012 at 02:45PM

19
#5 - Peter Lacey-Bordeaux / @placeybordeaux

10/01/2012 at 03:25PM

19
#6 - Victor Ramirez / @virako

10/20/2012 at 12:21AM

19
#7 - Ilya Ermolin / @ermolinis

10/25/2012 at 06:40AM

19
#8 - Steve Tjoa / @stevetjoa

02/04/2013 at 08:37PM

19
#9 - Tyler / @tylerbindon

04/06/2013 at 03:24AM

19
#10 - Marco Hinz / @_mhinz_

05/23/2013 at 08:21PM

19
#11 - wushexu / @wushexu

05/25/2013 at 02:09PM

19
#12 - Petro Тrouq / @zulolosi

06/19/2013 at 09:43PM

19
#13 - James Davis / @tripvg

06/26/2013 at 09:06PM

19
#14 - Bradd Szonye / @bszonye

07/15/2013 at 03:06AM

19
#15 - Drew Neil / @nelstrom

08/27/2013 at 09:56AM

19
#16 - Karun Ramakrishnan / @the_karun

01/17/2014 at 06:59AM

19
#17 - Xelrifos / @Xelrifos

02/22/2014 at 08:03PM

19
#18 - Milind Ganjoo / @mganjoo

03/03/2014 at 12:06AM

19
#19 - ZorgroZ / @ZorgroZ

04/12/2014 at 07:13PM

19
#20 - John Braxler / @braxler

04/29/2014 at 12:44PM

19
#21 - BJ Terry / @ThatBJTerry

05/21/2014 at 06:13AM

19
#22 - Alexander Kazakov / @volandkot

04/03/2015 at 02:00PM

19
#23 - pftb12345 / @pftb12345

04/14/2015 at 11:49AM

19
#24 - David Nguyen / @nguydavi

06/14/2015 at 11:00AM

19
#25 - Robert Goeddel / @f0rdpr3fect

11/13/2015 at 08:11PM

19
#26 - Sam Stites / @SamStites

12/25/2015 at 06:15AM

19
#27 - Framecurrent / @framecurrent

12/26/2015 at 01:02AM

19
#28 - Jon Krause / @jkrause314

01/01/2016 at 12:29AM

19
#29 - Ikypiky / @nerdbeereis

06/16/2016 at 08:54AM

19
#30 - Jim Bob / @babyclubber

03/01/2017 at 11:36PM