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 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 103 remaining solutions by signing in and submitting your own entry
#104 Kurt Robert Rudolph / krudolph9 - Score: 6 - 01/15/13 @ 12:17
<C-V>G$<ZZ

0 comments


#105 Chris Berragan / ChrisBerragan - Score: 6 - 01/17/13 @ 19:07
<C-V>)<:x<CR>

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


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

0 comments


#117 Spencer Rogers / spencer1248 - Score: 6 - 05/25/13 @ 02:57
<C-V>G$<ZZ

0 comments


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

0 comments


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

0 comments


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

0 comments


#121 brett / brettyukich - Score: 6 - 09/22/13 @ 04:23
<C-V>G$<ZZ

0 comments


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

0 comments


#123 ltn614 / ltn614 - Score: 6 - 10/01/15 @ 09:50
<C-V>G$<ZZ

0 comments


#124 retired account / retired10072015 - Score: 7 - 01/14/13 @ 22:33
<C-V>)<<ZZZ

0 comments


#125 shpoont / shpoont - Score: 9 - 02/05/13 @ 07:33
h<C-V>Gx=GPZZ

0 comments


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

0 comments


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

0 comments


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

0 comments


#129 Justin Knag / justinknag - Score: 158 - 09/16/14 @ 06: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

129 active golfers, 195 entries

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

01/14/2013 at 08:41AM

5
#2 - Kerson Hsiao / KersonHsiao

01/14/2013 at 09:18AM

5
#3 - r / tricosahedron

01/14/2013 at 10:22AM

5
#4 - Tim Chase / gumnos

01/14/2013 at 01:08PM

5
#5 - Peter Lacey-Bordeaux / placeybordeaux

01/14/2013 at 10:45PM

5
#6 - h_east (トロッコ6個) / h_east

01/15/2013 at 03:36AM

5
#7 - Pradeep Kumar / pradeep6kumar

01/15/2013 at 05:59AM

5
#8 - Vim Golfer / vimgolfern00b

01/15/2013 at 04:56PM

5
#9 - Panupan S. / lionpeal

01/16/2013 at 01:15AM

5
#10 - martha / hellomartha

01/16/2013 at 01:17PM

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

01/16/2013 at 09:20PM

5
#12 - Reed Riley / ReedRile

01/17/2013 at 12:34AM

5
#13 - Tom Duijf / tomduijf

01/17/2013 at 08:58AM

5
#14 - cdan / cdan

01/17/2013 at 09:15AM

5
#15 - nirosys / nirosys

01/18/2013 at 02:04AM

5
#16 - Lieven Keersmaekers / LievenKeersmaek

01/18/2013 at 06:09PM

5
#17 - mnx / mnxx

01/19/2013 at 03:02AM

5
#18 - django unchained / DjangoTuxg

01/19/2013 at 06:58PM

5
#19 - Joe Sullivan / itsjoesullivan

01/19/2013 at 08:31PM

5
#20 - KeuZ / Fl4t

01/20/2013 at 01:44AM

5
#21 - Marcin Sza / coot_

01/20/2013 at 09:00AM

5
#22 - landtax / landtax

01/20/2013 at 12:02PM

5
#23 - Xinruo Sun / xiaoruoruo

01/20/2013 at 03:06PM

5
#24 - Matthew Clair / CanadaRox

01/20/2013 at 09:21PM

5
#25 - Trevor Powell / DoomedBunnies

01/21/2013 at 01:58AM

5
#26 - Doru-Mihai Muntean / dorumihai

01/21/2013 at 08:54AM

5
#27 - Max Sherman / johnislarry

01/22/2013 at 12:57AM

5
#28 - Taro Yamada / t_yamada8karad

01/23/2013 at 11:30AM

5
#29 - Phil / ischi

01/23/2013 at 07:09PM

5
#30 - zealotrush / zealotrush

01/24/2013 at 03:19PM