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):
24
#121 - José Mota / @josemotanet

11/25/2012 at 10:33PM

24
#122 - Woojung Kim 김우중 / @_kimwz

07/16/2013 at 02:03AM

24
#123 - James / @Dronak

09/17/2013 at 02:43AM

24
#124 - Quinn McHenry / @qmchenry

11/28/2014 at 08:34PM

24
#125 - ltn614 / @ltn614

09/28/2015 at 11:01AM

25
#126 - Rodolphe Belouin / @rbelouin

09/20/2012 at 02:31PM

25
#127 - Runar / @runarfu

01/11/2013 at 05:15PM

25
#128 - Bart of Denver / @bartofdenver

08/13/2013 at 03:58AM

25
#129 - cj / @cj01101

08/20/2013 at 05:38PM

25
#130 - Dave Aitken / @actionshrimp

08/27/2013 at 07:30PM

25
#131 - Sam Burk / @smwbk

12/21/2013 at 11:12PM

25
#132 - r. / @rmarvie

12/20/2014 at 10:01PM

25
#133 - Paul Draghicescu / @pdragy

03/22/2018 at 09:58PM

26
#134 - Piotr Śniegowski / @PiotrSniegowski

06/06/2013 at 12:53PM

26
#135 - Jonathan / @jmcphers

08/16/2016 at 09:23PM

27
#136 - Felipe Jaramillo F / @mrfelipe

05/06/2014 at 04:12AM

27
#137 - Alishah Chator / @alicharizard

06/09/2014 at 02:31PM

27
#138 - Ψαροκροκέτα / @psarokroketa

07/29/2017 at 02:56PM

28
#139 - Krzysiek / @krzlew

09/16/2012 at 07:52AM

28
#140 - Nicolas Friedli / @NicolasFriedli

10/29/2012 at 04:40PM

28
#141 - Joshua Travis / @jktravis

11/07/2012 at 01:40AM

28
#142 - Michael / @patheticpat

12/17/2012 at 01:47PM

28
#143 - Claudio Ortolina / @cloud8421

08/27/2013 at 06:45PM

28
#144 - Oliver Christ / @0liverChrist

10/04/2013 at 10:24PM

29
#145 - Ian Pudney / @IanPudney

06/09/2014 at 02:19PM

29
#146 - Jurica / @Jurica34581259

12/13/2018 at 04:53PM

30
#147 - Miguel Sánchez / @miguelsr1987

10/03/2012 at 06:55PM

30
#148 - makala noble / @mnoble01

11/13/2012 at 11:15AM

32
#149 - Kerry Burke / @kurver

09/14/2012 at 09:42PM

32
#150 - Brandon Frazier / @uhok

09/29/2012 at 03:45AM