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 160 remaining solutions by signing in and submitting your own entry
#161 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

161 active golfers, 291 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 - Fl4t / @Fl4t

01/20/2013 at 01:44AM

5
#21 - Marcin Szamotulski / @me_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