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):
22
#91 - RobertT / @techrt2050

08/07/2013 at 06:09AM

22
#92 - Rob Glew / @RealGlew

06/09/2014 at 01:53PM

22
#93 - deris / @deris0126

11/07/2014 at 08:42PM

22
#94 - w1zeman1p / @wizemanip

11/18/2014 at 05:29PM

22
#95 - TheProgrammer971 / @tp971

03/14/2015 at 11:16PM

22
#96 - Ben Hill / @KaizenSoze70

02/11/2018 at 10:21PM

23
#97 - Conner McDaniel / @connermcd

09/12/2012 at 02:23PM

23
#98 - Lance Levine / @LanceSMLevine

10/10/2012 at 05:24AM

23
#99 - Einar Lielmanis / @spicausis

11/07/2012 at 03:41PM

23
#100 - Oh fear / @ohfear_num

11/29/2012 at 05:38AM

23
#101 - Jonathan Kim / @jonnykim

08/27/2013 at 06:40PM

23
#102 - isayoldchap / @isayoldchap

09/23/2013 at 02:49AM

23
#103 - Pedro Franceschi / @pedroh96

10/05/2013 at 04:01PM

23
#104 - Kyle Travis / @kmakai

05/17/2014 at 05:52AM

23
#105 - Justin Knag / @justinknag

08/30/2014 at 12:28AM

23
#106 - Etienne Fux / @etifiux

10/09/2014 at 12:12PM

23
#107 - Jose Gutierrez / @Jogusa

10/22/2014 at 05:07PM

23
#108 - Malte R / @maltoe

11/12/2014 at 08:08AM

23
#109 - William Ott / @oddalot

04/12/2015 at 06:59PM

23
#110 - George Angelopoulos / @g_usermod

08/05/2016 at 11:06AM

23
#111 - dayshade / @dayshade_7

11/17/2017 at 01:32PM

24
#112 - h_east (トロッコ6個) / @h_east

09/12/2012 at 07:17AM

24
#113 - 無ん垢の叫び / @john_ababa

09/16/2012 at 10:41AM

24
#114 - Vasil Sakarov / @vsakarov

09/20/2012 at 01:45PM

24
#115 - Damien Chilot / @duser_2

10/06/2012 at 08:28PM

24
#116 - usrbin / @notusrbin

10/19/2012 at 01:01AM

24
#117 - Underhill Labs / @underhilllabs

10/29/2012 at 03:02PM

24
#118 - G. Ahtune / @gahtune

11/04/2012 at 04:07PM

24
#119 - Bunwut Tson / @NbTson

11/07/2012 at 01:22PM

24
#120 - n0nick / @n0nick

11/19/2012 at 02:08PM