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):
23
#121 - isayoldchap / @isayoldchap

09/23/2013 at 02:49AM

23
#122 - Pedro Franceschi / @pedroh96

10/05/2013 at 04:01PM

23
#123 - Kyle Travis / @kmakai

05/17/2014 at 05:52AM

23
#124 - Justin Knag / @justinknag

08/30/2014 at 12:28AM

23
#125 - Etienne Fux / @etifiux

10/09/2014 at 12:12PM

23
#126 - Jose Gutierrez / @Jogusa

10/22/2014 at 05:07PM

23
#127 - Malte R / @maltoe

11/12/2014 at 08:08AM

23
#128 - William Ott / @oddalot

04/12/2015 at 06:59PM

23
#129 - George Angelopoulos / @g_usermod

08/05/2016 at 11:06AM

23
#130 - dayshade / @dayshade_7

11/17/2017 at 01:32PM

23
#131 - khedd / @sinan_khedd

06/13/2020 at 05:25PM

23
#132 - z_r_a / @z_r_a

10/08/2021 at 05:34AM

23
#133 - Salvador Tojo Quintela / @SalvadorTojo

10/09/2021 at 08:20AM

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

09/12/2012 at 07:17AM

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

09/16/2012 at 10:41AM

24
#136 - Vasil Sakarov / @vsakarov

09/20/2012 at 01:45PM

24
#137 - Damien Chilot / @duser_2

10/06/2012 at 08:28PM

24
#138 - usrbin / @notusrbin

10/19/2012 at 01:01AM

24
#139 - Underhill Labs / @underhilllabs

10/29/2012 at 03:02PM

24
#140 - G. Ahtune / @gahtune

11/04/2012 at 04:07PM

24
#141 - Bunwut Tson / @NbTson

11/07/2012 at 01:22PM

24
#142 - n0nick / @n0nick

11/19/2012 at 02:08PM

24
#143 - José Mota / @josemotanet

11/25/2012 at 10:33PM

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

07/16/2013 at 02:03AM

24
#145 - James / @Dronak

09/17/2013 at 02:43AM

24
#146 - Quinn McHenry / @qmchenry

11/28/2014 at 08:34PM

24
#147 - ltn614 / @ltn614

09/28/2015 at 11:01AM

25
#148 - Rodolphe Belouin / @rbelouin

09/20/2012 at 02:31PM

25
#149 - Runar / @runarfu

01/11/2013 at 05:15PM

25
#150 - Bart of Denver / @bartofdenver

08/13/2013 at 03:58AM