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

181 active golfers, 476 entries

Leaderboard (lowest score wins):
25
#151 - cj / @cj01101

08/20/2013 at 05:38PM

25
#152 - Dave Aitken / @actionshrimp

08/27/2013 at 07:30PM

25
#153 - Sam Burk / @smwbk

12/21/2013 at 11:12PM

25
#154 - r. / @rmarvie

12/20/2014 at 10:01PM

25
#155 - Paul Draghicescu / @pdragy

03/22/2018 at 09:58PM

26
#156 - Piotr Śniegowski / @PiotrSniegowski

06/06/2013 at 12:53PM

26
#157 - Jonathan / @jmcphers

08/16/2016 at 09:23PM

27
#158 - Felipe Jaramillo F / @mrfelipe

05/06/2014 at 04:12AM

27
#159 - Alishah Chator / @alicharizard

06/09/2014 at 02:31PM

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

07/29/2017 at 02:56PM

27
#161 - Pranshu Goyal / @PranshuGoyal

02/02/2021 at 09:26PM

28
#162 - Krzysiek / @krzlew

09/16/2012 at 07:52AM

28
#163 - Nicolas Friedli / @NicolasFriedli

10/29/2012 at 04:40PM

28
#164 - Joshua Travis / @jktravis

11/07/2012 at 01:40AM

28
#165 - Michael / @patheticpat

12/17/2012 at 01:47PM

28
#166 - Claudio Ortolina / @cloud8421

08/27/2013 at 06:45PM

28
#167 - Oliver Christ / @0liverChrist

10/04/2013 at 10:24PM

29
#168 - Ian Pudney / @IanPudney

06/09/2014 at 02:19PM

29
#169 - Jurica / @Jurica34581259

12/13/2018 at 04:53PM

30
#170 - Miguel Sánchez / @miguelsr1987

10/03/2012 at 06:55PM

30
#171 - makala noble / @mnoble01

11/13/2012 at 11:15AM

32
#172 - Kerry Burke / @kurver

09/14/2012 at 09:42PM

32
#173 - Brandon Frazier / @uhok

09/29/2012 at 03:45AM

32
#174 - Kohei Yamamoto / @k_ymmt

06/22/2013 at 02:52PM

32
#175 - Connie Qi / @connieqi

06/09/2014 at 02:36PM

33
#176 - Kamil Krzyżanowski / @kamnxt

03/14/2014 at 05:42PM

34
#177 - Jordan Eldredge / @captbaritone

09/13/2012 at 09:52AM

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

12/11/2012 at 12:23PM

34
#179 - Hyper Bovine / @hyperbovine

01/29/2014 at 05:24AM

36
#180 - Sebastian Wieland / @oktupol

01/26/2018 at 09:46AM