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):
32
#151 - Kohei Yamamoto / @k_ymmt

06/22/2013 at 02:52PM

32
#152 - Connie Qi / @connieqi

06/09/2014 at 02:36PM

33
#153 - Kamil Krzy┼╝anowski / @kamnxt

03/14/2014 at 05:42PM

34
#154 - Jordan Eldredge / @captbaritone

09/13/2012 at 09:52AM

34
#155 - Pradeep Kumar / @pradeep6kumar

12/11/2012 at 12:23PM

34
#156 - Hyper Bovine / @hyperbovine

01/29/2014 at 05:24AM

36
#157 - Sebastian Wieland / @oktupol

01/26/2018 at 09:46AM

41
#158 - Ravi S Sinha / @ambidextrousTx

09/12/2012 at 10:52PM