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 50f3c2d55c891f0002000002

Word frequency alignment

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

Start file
     align here
the	   56271872
of	  33950064
and	   29944184
to	  25956096
in	  17420636
I	 11764797
that	    11073318
was	   10078245
his	   8799755
he	  8397205
it	  8058110
End file
     align here
the  56271872
of   33950064
and  29944184
to   25956096
in   17420636
I    11764797
that 11073318
was  10078245
his  8799755
he   8397205
it   8058110

View Diff

2,12c2,12
< the	   56271872
< of	  33950064
< and	   29944184
< to	  25956096
< in	  17420636
< I	 11764797
< that	    11073318
< was	   10078245
< his	   8799755
< he	  8397205
< it	  8058110
---
> the  56271872
> of   33950064
> and  29944184
> to   25956096
> in   17420636
> I    11764797
> that 11073318
> was  10078245
> his  8799755
> he   8397205
> it   8058110

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 95 remaining solutions by signing in and submitting your own entry
#96 Chris Berragan / @ChrisBerragan - Score: 6 - 01/17/13 @ 11:07
<C-V>)<:x<CR>

0 comments

#97 Nipunn Koorapati / @nipunn1313 - Score: 6 - 01/20/13 @ 20:45
<C-V>G$<ZZ

0 comments

#98 Aeden Jameson / @daliful - Score: 6 - 01/21/13 @ 22:47
<C-V>)<:x<CR>

0 comments

#99 Christopher Harrison / @Xophmeister - Score: 6 - 01/28/13 @ 02:56
<C-V>G$<ZZ

0 comments

#100 Jaime A. Sánchez / @jashbeta - Score: 6 - 02/08/13 @ 06:22
<C-V>G$<ZZ

0 comments

#101 Andrés Llopis / @andreselsuave - Score: 6 - 03/03/13 @ 16:39
<C-V>G$<ZZ

0 comments

#102 Marcin Katulski / @marcink79 - Score: 6 - 03/21/13 @ 14:16
<C-V>G$<ZZ

0 comments

#103 Maarten Claes / @maartencls - Score: 6 - 03/28/13 @ 14:50
<C-V>G$<ZZ

0 comments

#104 Andrius Janauskas / @2theAJ - Score: 6 - 04/08/13 @ 10:19
<C-V>)<:x<CR>

0 comments

#105 Karun Ramakrishnan / @the_karun - Score: 6 - 04/16/13 @ 15:32
<C-V>G$<ZZ

0 comments

#106 David Yan / @david_yan - Score: 6 - 04/18/13 @ 12:38
<C-V>G$<ZZ

0 comments

#107 Daniel Hernik / @danielhernik - Score: 6 - 05/15/13 @ 09:12
<C-V>G$<ZZ

0 comments

#108 Spencer Rogers / @spencer1248 - Score: 6 - 05/24/13 @ 19:57
<C-V>G$<ZZ

0 comments

#109 Nathan / @NathanHarperoni - Score: 6 - 08/07/13 @ 08:21
<C-V>G$<ZZ

0 comments

#110 Dave Aitken / @actionshrimp - Score: 6 - 08/27/13 @ 12:44
<CR><C-V>)<ZZ

0 comments

#111 Hachez Floran / @FloranHachez - Score: 6 - 09/05/13 @ 04:51
<CR><C-V>)<ZZ

0 comments

#112 brett / @brettyukich - Score: 6 - 09/21/13 @ 21:23
<C-V>G$<ZZ

0 comments

#113 Ram Tamtam / @ramtamtamtam - Score: 6 - 07/01/14 @ 05:36
<C-V>G$<ZZ

0 comments

#114 Joseph Reddington / @joereddington - Score: 7 - 01/14/13 @ 14:33
<C-V>)<<ZZZ

0 comments

#115 shpoont / @shpoont - Score: 9 - 02/04/13 @ 23:33
h<C-V>Gx=GPZZ

0 comments

#116 Vincent Franco / @vinniefranco - Score: 12 - 02/07/13 @ 01:09
<C-V>)<uuu<C-V>)<:x<CR>

0 comments

#117 Milton Soares Filho / @miltonsoaresf - Score: 25 - 01/29/13 @ 14:11
:%s/\t/ /g<CR><C-O><C-V>)</I<CR>wi  <Esc>ZZ

0 comments

#118 Torben Rasmussen / @rasmustorben - Score: 32 - 04/27/13 @ 15:40
:%s/<C-V><Tab>/   /g<CR>5lqqdwkq@q3@@k5@@ZZ

0 comments

#119 Justin Knag / @justinknag - Score: 158 - 09/15/14 @ 23:55
j<C-V>jjjjjjjjjjjllljjhhhhhlllllkkkkkkkkkkkkkhhhhhhk<Esc>jhlhlhljhlhklllhhlxjxjxulxjxsj<BS><Esc>jlxjxjlllxjxjxjxjxkkkkkkkkkkkjlxji j<BS><Esc>jxji  <Esc>ji <Esc>jhhi   <Esc>jxxxjxjxji <Esc>ji  <BS><Esc>ZZ

0 comments

Created by: @udioica

119 active golfers, 180 entries

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

01/14/2013 at 12:41AM

5
#2 - Kerson Hsiao / @KersonHsiao

01/14/2013 at 01:18AM

5
#3 - r / @tricosahedron

01/14/2013 at 02:22AM

5
#4 - Tim Chase / @gumnos

01/14/2013 at 05:08AM

5
#5 - Peter Lacey-Bordeaux / @placeybordeaux

01/14/2013 at 02:45PM

5
#6 - h_east (DDD ready) / @h_east

01/14/2013 at 07:36PM

5
#7 - Pradeep Kumar / @pradeep6kumar

01/14/2013 at 09:59PM

5
#8 - Vim Golfer / @vimgolfern00b

01/15/2013 at 08:56AM

5
#9 - Panupan S. / @lionpeal

01/15/2013 at 05:15PM

5
#10 - martha / @hellomartha

01/16/2013 at 05:17AM

5
#11 - James S.P. Barth / @sp_barth

01/16/2013 at 01:20PM

5
#12 - Reed Riley / @ReedRile

01/16/2013 at 04:34PM

5
#13 - Tom Duijf / @tomduijf

01/17/2013 at 12:58AM

5
#14 - cdan / @cdan

01/17/2013 at 01:15AM

5
#15 - nirosys / @nirosys

01/17/2013 at 06:04PM

5
#16 - Lieven Keersmaekers / @LievenKeersmaek

01/18/2013 at 10:09AM

5
#17 - mnx / @mnxx

01/18/2013 at 07:02PM

5
#18 - django unchained / @DjangoTuxg

01/19/2013 at 10:58AM

5
#19 - Joe Sullivan / @itsjoesullivan

01/19/2013 at 12:31PM

5
#20 - KeuZ / @Fl4t

01/19/2013 at 05:44PM

5
#21 - Marcin Sza / @coot_

01/20/2013 at 01:00AM

5
#22 - landtax / @landtax

01/20/2013 at 04:02AM

5
#23 - Xinruo Sun / @xiaoruoruo

01/20/2013 at 07:06AM

5
#24 - Matthew Clair / @CanadaRox

01/20/2013 at 01:21PM

5
#25 - Trevor Powell / @DoomedBunnies

01/20/2013 at 05:58PM

5
#26 - Doru-Mihai Muntean / @dorumihai

01/21/2013 at 12:54AM

5
#27 - Max Sherman / @johnislarry

01/21/2013 at 04:57PM

5
#28 - Taro Yamada / @t_yamada8karad

01/23/2013 at 03:30AM

5
#29 - Phil / @ischi

01/23/2013 at 11:09AM

5
#30 - zealotrush / @zealotrush

01/24/2013 at 07:19AM

5
#31 - Aleksey Demidov / @AlekseyDemdiov

01/24/2013 at 03:56PM

5
#32 - Vijay Chidambaram / @vj_chidambaram

01/24/2013 at 11:32PM

5
#33 - Luan Santos / @cfcluan

01/26/2013 at 12:14AM

5
#34 - BostX / @BostX

01/26/2013 at 07:13AM

5
#35 - Hubba / @HubbaBubbaFett

01/26/2013 at 11:37AM

5
#36 - Eduardo Diaz / @iamedu

01/27/2013 at 06:32PM

5
#37 - buz / @buzbone

01/29/2013 at 02:42AM

5
#38 - Liam Wilkins / @CallMeWilkins

01/29/2013 at 12:58PM

5
#39 - fabiano taddei / @Brodoblu

02/01/2013 at 01:41PM

5
#40 - Steve Tjoa / @stevetjoa

02/01/2013 at 04:33PM

5
#41 - Zudochkin Dmitry / @vredniy

02/07/2013 at 11:43PM

5
#42 - 無ん垢の叫び / @john_ababa

02/10/2013 at 01:24AM

5
#43 - Cameron Fowler / @camfowler

02/12/2013 at 02:07PM

5
#44 - GimVolfer VimGolfer / @GimGol

02/21/2013 at 11:16AM

5
#45 - Kai Yuan / @kentyuan

02/21/2013 at 03:22PM

5
#46 - Sebastian Kusnier / @skusnier

02/28/2013 at 01:32PM

5
#47 - Julius Pfrommer / @dlctr

03/02/2013 at 09:28AM

5
#48 - Joel Elkins / @dice_tea

03/02/2013 at 10:43AM

5
#49 - Patricio Clark / @PatricioClark

03/03/2013 at 05:28AM

5
#50 - Fan Zhang / @2bDeactivat3d

03/04/2013 at 01:59AM

5
#51 - Vito / @GodFather

03/10/2013 at 12:02AM

5
#52 - Niels Madan / @nielsmadan

03/24/2013 at 12:27PM

5
#53 - Volodimir Barna / @RobertoUA

03/27/2013 at 02:00AM

5
#54 - Norseman Rabett / @nrabett

03/27/2013 at 07:23AM

5
#55 - ict / @ict_42

03/28/2013 at 08:11AM

5
#56 - Sofia Balicka / @so_phifi

03/29/2013 at 09:19AM

5
#57 - outsmartin / @outsmartin

04/16/2013 at 03:34PM

5
#58 - sundeepblue / @sundeepblue

04/25/2013 at 02:01PM

5
#59 - Chase Stubblefield / @sterlingchase

04/28/2013 at 02:21PM

5
#60 - annagrammatica1 / @annagrammatica1

05/06/2013 at 09:05PM

5
#61 - Tresifina / @Tresifina

05/23/2013 at 01:11PM

5
#62 - Marco Hinz / @_mhinz_

05/23/2013 at 02:55PM

5
#63 - Tom User / @kiryph

05/30/2013 at 04:37AM

5
#64 - Norm Fasey / @NormFasey

06/21/2013 at 09:21AM

5
#65 - Petro Тrouq / @zulolosi

07/04/2013 at 12:04PM

5
#66 - Bradd Szonye / @bszonye

07/13/2013 at 02:55AM

5
#67 - Woojung Kim 김우중 / @_kimwz

07/14/2013 at 10:09PM

5
#68 - Aaron Bieber / @aaronbieber

07/19/2013 at 04:05PM

5
#69 - Carl Shotwell / @carl_talks

07/25/2013 at 10:28AM

5
#70 - Tullio Facchinetti / @toolleeo

07/25/2013 at 02:20PM

5
#71 - A / @Tower_1980

07/28/2013 at 04:37AM

5
#72 - cj / @cj01101

08/08/2013 at 01:53PM

5
#73 - David Pathakjee / @DavidPathakjee

08/14/2013 at 09:23PM

5
#74 - Drew Neil / @nelstrom

08/27/2013 at 02:50AM

5
#75 - Claudio Ortolina / @cloud8421

08/27/2013 at 11:35AM

5
#76 - James / @Dronak

08/29/2013 at 10:43AM

5
#77 - Амар / @amar_battulga

09/05/2013 at 05:29AM

5
#78 - isayoldchap / @isayoldchap

09/12/2013 at 03:58PM

5
#79 - Oliver Christ / @0liverChrist

10/04/2013 at 08:10AM

5
#80 - Alex Podaras / @apodaras

10/25/2013 at 11:06AM

5
#81 - Sam Burk / @smwbk

12/20/2013 at 06:35PM

5
#82 - CHIP CASTLE / @chipcastle

12/28/2013 at 08:36AM

5
#83 - jgpaiva / @jgpaiva

02/03/2014 at 11:45AM

5
#84 - Quota / @Quotad

02/20/2014 at 06:15AM

5
#85 - Joonas Pihlajamaa / @jokkebk

03/10/2014 at 03:57AM

5
#86 - Felipe Jaramillo F / @mrfelipe

04/15/2014 at 10:47PM

5
#87 - John Braxler / @braxler

05/02/2014 at 09:42AM

5
#88 - Chaitanya Desu / @ChaituNu

05/10/2014 at 09:29PM

5
#89 - Robert Bruce / @therealrobru

06/10/2014 at 05:47PM

5
#90 - rain / @rain_1024

07/12/2014 at 08:40PM

5
#91 - Caek / @Caek_

07/13/2014 at 09:12PM

5
#92 - Paul Kunysch / @kunysch

07/18/2014 at 12:37PM

6
#93 - Zarak / @z0k

01/14/2013 at 07:39PM

6
#94 - Omer Rauchwerger / @rauchy

01/15/2013 at 01:43AM

6
#95 - Kurt Robert Rudolph / @krudolph9

01/15/2013 at 04:17AM

6
#96 - Chris Berragan / @ChrisBerragan

01/17/2013 at 11:07AM

6
#97 - Nipunn Koorapati / @nipunn1313

01/20/2013 at 08:45PM

6
#98 - Aeden Jameson / @daliful

01/21/2013 at 10:47PM

6
#99 - Christopher Harrison / @Xophmeister

01/28/2013 at 02:56AM

6
#100 - Jaime A. Sánchez / @jashbeta

02/08/2013 at 06:22AM

6
#101 - Andrés Llopis / @andreselsuave

03/03/2013 at 04:39PM

6
#102 - Marcin Katulski / @marcink79

03/21/2013 at 02:16PM

6
#103 - Maarten Claes / @maartencls

03/28/2013 at 02:50PM

6
#104 - Andrius Janauskas / @2theAJ

04/08/2013 at 10:19AM

6
#105 - Karun Ramakrishnan / @the_karun

04/16/2013 at 03:32PM

6
#106 - David Yan / @david_yan

04/18/2013 at 12:38PM

6
#107 - Daniel Hernik / @danielhernik

05/15/2013 at 09:12AM

6
#108 - Spencer Rogers / @spencer1248

05/24/2013 at 07:57PM

6
#109 - Nathan / @NathanHarperoni

08/07/2013 at 08:21AM

6
#110 - Dave Aitken / @actionshrimp

08/27/2013 at 12:44PM

6
#111 - Hachez Floran / @FloranHachez

09/05/2013 at 04:51AM

6
#112 - brett / @brettyukich

09/21/2013 at 09:23PM

6
#113 - Ram Tamtam / @ramtamtamtam

07/01/2014 at 05:36AM

7
#114 - Joseph Reddington / @joereddington

01/14/2013 at 02:33PM

9
#115 - shpoont / @shpoont

02/04/2013 at 11:33PM

12
#116 - Vincent Franco / @vinniefranco

02/07/2013 at 01:09AM

25
#117 - Milton Soares Filho / @miltonsoaresf

01/29/2013 at 02:11PM

32
#118 - Torben Rasmussen / @rasmustorben

04/27/2013 at 03:40PM

158
#119 - Justin Knag / @justinknag

09/15/2014 at 11:55PM