Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, 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 88 remaining solutions by signing in and submitting your own entry
#89 Sam Burk / @smwbk - Score: 25 - 12/21/13 @ 15:12
:%s/ /\r/g<CR><C-V>ggypgvA = <Esc>ZZ

0 comments

#90 Piotr Śniegowski / @PiotrSniegowski - Score: 26 - 06/06/13 @ 05:53
:s/\ /\r/g<CR><C-V>ggyp<C-V>G I = <Esc>ZZ

0 comments

#91 Felipe Jaramillo F / @mrfelipe - Score: 27 - 05/05/14 @ 21:12
:%s/ /\r/g<CR><CR><C-V>ggYp<C-V>GlI = <Esc>ZZ

0 comments

#92 Alishah Chator / @alicharizard - Score: 27 - 06/09/14 @ 07:31
qqy pi = <Esc>wwi<BS><CR><Esc>q25@qi<BS>l<Esc>ZZ

0 comments

#93 Krzysiek / @krzlew - Score: 28 - 09/16/12 @ 00:52
:s/ *\(\u\)/\r\1 = \1/g<CR><C-O>JZZ

0 comments

#94 Nicolas Friedli / @NicolasFriedli - Score: 28 - 10/29/12 @ 09:40
:%s/ /<C-V><CR>/g<CR><C-V>ggyP<Right><C-V>G<Right>I = <Esc><Down>ZZ

0 comments

#95 Joshua Travis / @jktravis - Score: 28 - 11/06/12 @ 17:40
quvyea<CR><Esc>kPa = <Esc>j0q25@udd:wq<CR>

0 comments

#96 Michael / @patheticpat - Score: 28 - 12/17/12 @ 05:47
:s/\u/& = &/g<CR>qq2elr<CR>q25@qZZ

0 comments

#97 Claudio Ortolina / @cloud8421 - Score: 28 - 08/27/13 @ 11:45
:s/ /\r/g<CR>qqyla = <Esc>p-q30@qZZ

0 comments

#98 Oliver Christ / @0liverChrist - Score: 28 - 10/04/13 @ 15:24
:s/ /\r/g<CR>qavyPa = <Esc>-q25@aZZ

0 comments

#99 Ian Pudney / @IanPudney - Score: 29 - 06/09/14 @ 07:19
:s/ *\(\u\)/\r\1 = \1/g<CR>HddZZ

0 comments

#100 Miguel Sánchez / @miguelsr1987 - Score: 30 - 10/03/12 @ 11:55
qqylpi = <Esc>wwhxi<CR><Esc>q24@qiZ = <Esc>ZZ

0 comments

#101 makala noble / @mnoble01 - Score: 30 - 11/13/12 @ 03:15
qqxPPa = <Esc>wwhxi<CR><Esc>q25@qkJxil<Esc>ZZ

0 comments

#102 Kerry Burke / @kurver - Score: 32 - 09/14/12 @ 14:42
qqylpi = <Esc>wwhxi<CR><Esc>q24@qiZ = <Esc>:wq<CR>

0 comments

#103 Brandon Frazier / @uhok - Score: 32 - 09/28/12 @ 20:45
qaxPPa \ <BS><BS>= <Esc>wwlhhxi<CR><Esc>q24@a@aZZ

0 comments

#104 Kohei Yamamoto / @k_ymmt - Score: 32 - 06/22/13 @ 07:52
:%s/ /<C-V><CR>/g<CR>:%s/^\(.\)/\1 = \1<CR>ZZ

0 comments

#105 Connie Qi / @connieqi - Score: 32 - 06/09/14 @ 07:36
:s/\>./\r/g<CR>:s<BS>%s/\<./& = &/g<CR>ZZ

0 comments

#106 Kamil Krzyżanowski / @kamnxt - Score: 33 - 03/14/14 @ 10:42
:s/ //g<CR>:s/[A-Z]/\r& = &/g<CR>ggddZZ

0 comments

#107 Jordan Eldredge / @captbaritone - Score: 34 - 09/13/12 @ 02:52
:s/\v(.)(\w+) ?/\1 = \1\2\r/g<CR>ddZZ

0 comments

#108 Pradeep Kumar / @pradeep6kumar - Score: 34 - 12/11/12 @ 04:23
:%s/\s/\r/g<CR><C-V>25ky<C-V>25jI = <Esc>^hP<Esc>:wq<CR>

0 comments

#109 Hyper Bovine / @hyperbovine - Score: 34 - 01/28/14 @ 21:24
:%s/\v((\w)\w+) ?/\2 = \1\r/g<CR>ddZZ

0 comments

#110 Ravi S Sinha / @ambidextrousTx - Score: 41 - 09/12/12 @ 15:52
:%s/ /\r/g<CR>qaxPa = <Esc>pqk0vgg:norm @a<CR><Esc>:wq<CR>

0 comments

Created by: @DiffJunk

110 active golfers, 258 entries

Leaderboard (lowest score wins):
19
#1 - Urtica dioica / @udioica

09/12/2012 at 01:27AM

19
#2 - Domon / @Domon

09/12/2012 at 02:48AM

19
#3 - Tim Chase / @gumnos

09/12/2012 at 04:12AM

19
#4 - Jiří Chára / @JiriChara

09/12/2012 at 07:45AM

19
#5 - Peter Lacey-Bordeaux / @placeybordeaux

10/01/2012 at 08:25AM

19
#6 - Victor Ramirez / @virako

10/19/2012 at 05:21PM

19
#7 - Ilya Ermolin / @ermolinis

10/24/2012 at 11:40PM

19
#8 - Steve Tjoa / @stevetjoa

02/04/2013 at 12:37PM

19
#9 - Tyler / @tylerbindon

04/05/2013 at 08:24PM

19
#10 - Marco Hinz / @_mhinz_

05/23/2013 at 01:21PM

19
#11 - wushexu / @wushexu

05/25/2013 at 07:09AM

19
#12 - Petro Тrouq / @zulolosi

06/19/2013 at 02:43PM

19
#13 - James Davis / @tripvg

06/26/2013 at 02:06PM

19
#14 - Bradd Szonye / @bszonye

07/14/2013 at 08:06PM

19
#15 - Drew Neil / @nelstrom

08/27/2013 at 02:56AM

19
#16 - Karun Ramakrishnan / @the_karun

01/16/2014 at 10:59PM

19
#17 - Xelrifos / @Xelrifos

02/22/2014 at 12:03PM

19
#18 - Milind Ganjoo / @mganjoo

03/02/2014 at 04:06PM

19
#19 - ZorgroZ / @ZorgroZ

04/12/2014 at 12:13PM

19
#20 - John Braxler / @braxler

04/29/2014 at 05:44AM

19
#21 - BJ Terry / @ThatBJTerry

05/20/2014 at 11:13PM

20
#22 - S. Brent Faulkner / @sbfaulkner

09/14/2012 at 08:54AM

21
#23 - Kerson Hsiao / @KersonHsiao

09/12/2012 at 12:33AM

21
#24 - Tesnorth / @Tesnorth

09/12/2012 at 02:14AM

21
#25 - Joachim / @jodles89

09/12/2012 at 11:48AM

21
#26 - cameron / @cameronaustgen

09/12/2012 at 06:12PM

21
#27 - tmr / @tmr314

09/14/2012 at 11:28AM

21
#28 - Justin Love / @wondible

09/14/2012 at 08:02PM

21
#29 - Mihai Mazilu / @mtmazilu

09/21/2012 at 07:41AM

21
#30 - Federico Bond / @federicobond

09/22/2012 at 09:48PM

21
#31 - Carsten Zimmermann / @carpgezwitscher

09/28/2012 at 05:19AM

21
#32 - Andrea Francia / @andreafrancia

10/06/2012 at 05:39AM

21
#33 - Édouard M'tou / @DouardM

10/08/2012 at 11:16AM

21
#34 - Tom Cammann / @tea_sea

10/09/2012 at 04:01PM

21
#35 - Marcin Sza / @coot_

10/14/2012 at 03:20AM

21
#36 - Serge Pirotte / @SergePirotte

10/18/2012 at 11:20AM

21
#37 - A / @a_akessler

11/02/2012 at 10:43AM

21
#38 - Leo Bärring / @sevminjis

11/07/2012 at 06:47AM

21
#39 - Kenneth Waters / @gen_witt

11/13/2012 at 02:28PM

21
#40 - Murali Suriar / @msuriar

11/17/2012 at 02:48AM

21
#41 - Eric Andres / @eric_m_andres

12/05/2012 at 08:55AM

21
#42 - Tom Sisk / @TomSisk

12/09/2012 at 10:36AM

21
#43 - Yann Moisan / @YannMoisan

01/04/2013 at 02:59PM

21
#44 - Christopher Harrison / @Xophmeister

01/29/2013 at 03:26AM

21
#45 - Trevor Powell / @DoomedBunnies

03/19/2013 at 07:32PM

21
#46 - Joseph Reddington / @joereddington

09/19/2013 at 11:21AM

21
#47 - brett / @brettyukich

09/22/2013 at 06:56AM

21
#48 - Joe T / @h2g2guy

10/31/2013 at 11:14PM

21
#49 - US Dollar Price / @USDollarPrice

11/05/2013 at 11:43PM

21
#50 - Zach Kemp / @zvksf

12/23/2013 at 09:39PM

21
#51 - Alessandro Lisander / @wuiimu

01/05/2014 at 05:02PM

21
#52 - Quota / @Quotad

02/19/2014 at 06:16AM

21
#53 - Joonas Pihlajamaa / @jokkebk

02/23/2014 at 03:58AM

21
#54 - Thomas GUILLORY / @thomasguillory

03/11/2014 at 10:43AM

21
#55 - Leeren / @Leeren

08/09/2014 at 07:23PM

21
#56 - Michael Comerford / @MComerford1

09/26/2014 at 05:01AM

22
#57 - Chris Brown / @engineercyb

09/12/2012 at 11:23AM

22
#58 - Axl Waii / @axlwaii

09/28/2012 at 05:44AM

22
#59 - RobertT / @techrt2050

08/06/2013 at 11:09PM

22
#60 - Rob Glew / @RealGlew

06/09/2014 at 06:53AM

23
#61 - Conner McDaniel / @connermcd

09/12/2012 at 07:23AM

23
#62 - Lance Levine / @LanceSMLevine

10/09/2012 at 10:24PM

23
#63 - Einar Lielmanis / @spicausis

11/07/2012 at 07:41AM

23
#64 - Oh fear / @ohfear_num

11/28/2012 at 09:38PM

23
#65 - Jonathan Kim / @jonnykim

08/27/2013 at 11:40AM

23
#66 - isayoldchap / @isayoldchap

09/22/2013 at 07:49PM

23
#67 - Pedro Franceschi / @pedroh96

10/05/2013 at 09:01AM

23
#68 - Kyle Travis / @kmakai

05/16/2014 at 10:52PM

23
#69 - Justin Knag / @justinknag

08/29/2014 at 05:28PM

23
#70 - Etienne Fux / @etiennefux

10/09/2014 at 05:12AM

23
#71 - Jose Gutierrez / @Jogusa

10/22/2014 at 10:07AM

24
#72 - h_east (DDD ready) / @h_east

09/12/2012 at 12:17AM

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

09/16/2012 at 03:41AM

24
#74 - Vasil Sakarov / @vsakarov

09/20/2012 at 06:45AM

24
#75 - Damien Chilot / @duser_2

10/06/2012 at 01:28PM

24
#76 - usrbin / @notusrbin

10/18/2012 at 06:01PM

24
#77 - Underhill Labs / @underhilllabs

10/29/2012 at 08:02AM

24
#78 - G. Ahtune / @gahtune

11/04/2012 at 08:07AM

24
#79 - Bunwut Tson / @NbTson

11/07/2012 at 05:22AM

24
#80 - n0nick / @n0nick

11/19/2012 at 06:08AM

24
#81 - José Mota / @josemotanet

11/25/2012 at 02:33PM

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

07/15/2013 at 07:03PM

24
#83 - James / @Dronak

09/16/2013 at 07:43PM

25
#84 - Rodolphe Belouin / @rbelouin

09/20/2012 at 07:31AM

25
#85 - Runar / @runarfu

01/11/2013 at 09:15AM

25
#86 - Bart of Denver / @bartofdenver

08/12/2013 at 08:58PM

25
#87 - cj / @cj01101

08/20/2013 at 10:38AM

25
#88 - Dave Aitken / @actionshrimp

08/27/2013 at 12:30PM

25
#89 - Sam Burk / @smwbk

12/21/2013 at 03:12PM

26
#90 - Piotr Śniegowski / @PiotrSniegowski

06/06/2013 at 05:53AM

27
#91 - Felipe Jaramillo F / @mrfelipe

05/05/2014 at 09:12PM

27
#92 - Alishah Chator / @alicharizard

06/09/2014 at 07:31AM

28
#93 - Krzysiek / @krzlew

09/16/2012 at 12:52AM

28
#94 - Nicolas Friedli / @NicolasFriedli

10/29/2012 at 09:40AM

28
#95 - Joshua Travis / @jktravis

11/06/2012 at 05:40PM

28
#96 - Michael / @patheticpat

12/17/2012 at 05:47AM

28
#97 - Claudio Ortolina / @cloud8421

08/27/2013 at 11:45AM

28
#98 - Oliver Christ / @0liverChrist

10/04/2013 at 03:24PM

29
#99 - Ian Pudney / @IanPudney

06/09/2014 at 07:19AM

30
#100 - Miguel Sánchez / @miguelsr1987

10/03/2012 at 11:55AM

30
#101 - makala noble / @mnoble01

11/13/2012 at 03:15AM

32
#102 - Kerry Burke / @kurver

09/14/2012 at 02:42PM

32
#103 - Brandon Frazier / @uhok

09/28/2012 at 08:45PM

32
#104 - Kohei Yamamoto / @k_ymmt

06/22/2013 at 07:52AM

32
#105 - Connie Qi / @connieqi

06/09/2014 at 07:36AM

33
#106 - Kamil Krzyżanowski / @kamnxt

03/14/2014 at 10:42AM

34
#107 - Jordan Eldredge / @captbaritone

09/13/2012 at 02:52AM

34
#108 - Pradeep Kumar / @pradeep6kumar

12/11/2012 at 04:23AM

34
#109 - Hyper Bovine / @hyperbovine

01/28/2014 at 09:24PM

41
#110 - Ravi S Sinha / @ambidextrousTx

09/12/2012 at 03:52PM