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):
21
#91 - Walker Boh / @walker_boh

11/26/2015 at 09:59AM

21
#92 - Cristian Lupașcu / @clupasq

03/05/2016 at 10:33PM

21
#93 - 20speedvegan / @ashkevinm

04/13/2017 at 03:33PM

21
#94 - squdle / @squdle

06/17/2017 at 08:26AM

21
#95 - Gurukandhamoorthi / @Gurukandhamoor1

08/03/2017 at 06:07PM

21
#96 - Brandon Blakeley / @zkelvin

11/25/2017 at 05:51AM

21
#97 - Hugo / @szeyattai

08/20/2018 at 09:05AM

21
#98 - Johannes Riecken / @rubystallion

01/15/2020 at 09:03PM

21
#99 - RockerZZY / @rocker_zzy

06/29/2020 at 09:38AM

21
#100 - 0xdrowsy / @0xdrowsy

07/03/2021 at 11:48AM

21
#101 - POSIX / @po6ix

01/24/2022 at 02:10PM

21
#102 - Andreas Siegrist / @andreaszwei

02/01/2022 at 08:38PM

21
#103 - x03n046 / @x03n046

05/25/2022 at 09:34AM

21
#104 - Levi Wheeler / @LeviWhe68726437

06/14/2022 at 10:21PM

22
#105 - Chris Brown / @engineercyb

09/12/2012 at 06:23PM

22
#106 - Axl Waii / @axlwaii

09/28/2012 at 12:44PM

22
#107 - RobertT / @techrt2050

08/07/2013 at 06:09AM

22
#108 - Rob Glew / @RealGlew

06/09/2014 at 01:53PM

22
#109 - deris / @deris0126

11/07/2014 at 08:42PM

22
#110 - CJ Avilla / @wizemanip

11/18/2014 at 05:29PM

22
#111 - TheProgrammer971 / @tp971

03/14/2015 at 11:16PM

22
#112 - Ben Hill / @KaizenSoze70

02/11/2018 at 10:21PM

22
#113 - mindgitrwx / @mindgitrwx

09/22/2020 at 10:25AM

22
#114 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 08:54PM

22
#115 - Snurli / @Snurlipus

11/21/2021 at 09:40PM

23
#116 - Conner McDaniel / @connermcd

09/12/2012 at 02:23PM

23
#117 - Lance Levine / @LanceSMLevine

10/10/2012 at 05:24AM

23
#118 - Einar Lielmanis / @spicausis

11/07/2012 at 03:41PM

23
#119 - Oh fear / @ohfear_num

11/29/2012 at 05:38AM

23
#120 - Jonathan Kim / @jonnykim

08/27/2013 at 06:40PM