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

136 active golfers, 215 entries

Leaderboard (lowest score wins):
5
#31 - Aleksey Demidov / @AlekseyDemdiov

01/24/2013 at 11:56PM

5
#32 - Vijay Chidambaram / @vj_chidambaram

01/25/2013 at 07:32AM

5
#33 - Luan Santos / @cfcluan

01/26/2013 at 08:14AM

5
#34 - BostX / @BostX

01/26/2013 at 03:13PM

5
#35 - Hubba / @HubbaBubbaFett

01/26/2013 at 07:37PM

5
#36 - Eduardo Diaz / @iamedu

01/28/2013 at 02:32AM

5
#37 - buz / @buzbone

01/29/2013 at 10:42AM

5
#38 - Liam Wilkins / @CallMeWilkins

01/29/2013 at 08:58PM

5
#39 - fabiano taddei / @Brodoblu

02/01/2013 at 09:41PM

5
#40 - Steve Tjoa / @stevetjoa

02/02/2013 at 12:33AM

5
#41 - Dmitry Zudochkin / @zudochkin

02/08/2013 at 07:43AM

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

02/10/2013 at 09:24AM

5
#43 - Cameron Fowler / @camfowler

02/12/2013 at 10:07PM

5
#44 - GimVolfer VimGolfer / @GimGol

02/21/2013 at 07:16PM

5
#45 - Kai Yuan / @kentyuan

02/21/2013 at 11:22PM

5
#46 - Sebastian Kusnier / @skusnier

02/28/2013 at 09:32PM

5
#47 - Julius Pfrommer / @dlctr

03/02/2013 at 05:28PM

5
#48 - Joel Elkins / @dice_tea

03/02/2013 at 06:43PM

5
#49 - Patricio Clark / @PatricioClark

03/03/2013 at 01:28PM

5
#50 - Fan Zhang / @2bDeactivat3d

03/04/2013 at 09:59AM

5
#51 - Vito / @GodFather

03/10/2013 at 08:02AM

5
#52 - Niels Madan / @nielsmadan

03/24/2013 at 07:27PM

5
#53 - Volodimir Barna / @RobertoUA

03/27/2013 at 09:00AM

5
#54 - Norseman Rabett / @nrabett

03/27/2013 at 02:23PM

5
#55 - ict / @ict_42

03/28/2013 at 03:11PM

5
#56 - Sofia Balicka / @so_phifi

03/29/2013 at 04:19PM

5
#57 - outsmartin / @outsmartin

04/16/2013 at 10:34PM

5
#58 - sundeepblue / @sundeepblue

04/25/2013 at 09:01PM

5
#59 - Chasetopher / @chasetopherlee

04/28/2013 at 09:21PM

5
#60 - annagrammatica1 / @annagrammatica1

05/07/2013 at 04:05AM