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

162 active golfers, 413 entries

Leaderboard (lowest score wins):
30
#151 - Miguel Sánchez / @miguelsr1987

10/03/2012 at 06:55PM

30
#152 - makala noble / @mnoble01

11/13/2012 at 11:15AM

32
#153 - Kerry Burke / @kurver

09/14/2012 at 09:42PM

32
#154 - Brandon Frazier / @uhok

09/29/2012 at 03:45AM

32
#155 - Kohei Yamamoto / @k_ymmt

06/22/2013 at 02:52PM

32
#156 - Connie Qi / @connieqi

06/09/2014 at 02:36PM

33
#157 - Kamil Krzyżanowski / @kamnxt

03/14/2014 at 05:42PM

34
#158 - Jordan Eldredge / @captbaritone

09/13/2012 at 09:52AM

34
#159 - Pradeep Kumar 🇮🇳🇮🇳🇮🇳🇮🇱🇮🇱🇮🇱 / @pradeep6kumar

12/11/2012 at 12:23PM

34
#160 - Hyper Bovine / @hyperbovine

01/29/2014 at 05:24AM

36
#161 - Sebastian Wieland / @oktupol

01/26/2018 at 09:46AM

41
#162 - Ravi S Sinha / @ambidextrousTx

09/12/2012 at 10:52PM