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

131 active golfers, 198 entries

Leaderboard (lowest score wins):
5
#61 - Tresifina / @Tresifina

05/23/2013 at 08:11PM

5
#62 - Marco Hinz / @_mhinz_

05/23/2013 at 09:55PM

5
#63 - Tom User / @kiryph

05/30/2013 at 11:37AM

5
#64 - Norm Fasey / @DeathRay1977

06/21/2013 at 04:21PM

5
#65 - Petro Тrouq / @zulolosi

07/04/2013 at 07:04PM

5
#66 - Bradd Szonye / @bszonye

07/13/2013 at 09:55AM

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

07/15/2013 at 05:09AM

5
#68 - Aaron Bieber / @aaronbieber

07/19/2013 at 11:05PM

5
#69 - Carl Shotwell / @carl_talks

07/25/2013 at 05:28PM

5
#70 - Tullio Facchinetti / @toolleeo

07/25/2013 at 09:20PM

5
#71 - A / @Tower_1980

07/28/2013 at 11:37AM

5
#72 - cj / @cj01101

08/08/2013 at 08:53PM

5
#73 - David Pathakjee / @DavidPathakjee

08/15/2013 at 04:23AM

5
#74 - Drew Neil / @nelstrom

08/27/2013 at 09:50AM

5
#75 - Claudio Ortolina / @cloud8421

08/27/2013 at 06:35PM

5
#76 - James / @Dronak

08/29/2013 at 05:43PM

5
#77 - Amar Battulga / @amar_battulga

09/05/2013 at 12:29PM

5
#78 - isayoldchap / @isayoldchap

09/12/2013 at 10:58PM

5
#79 - Oliver Christ / @0liverChrist

10/04/2013 at 03:10PM

5
#80 - Alex Podaras / @apodaras

10/25/2013 at 06:06PM

5
#81 - Sam Burk / @smwbk

12/21/2013 at 02:35AM

5
#82 - CHIP CASTLE / @chipcastle

12/28/2013 at 04:36PM

5
#83 - João Paiva / @jgpaiva

02/03/2014 at 07:45PM

5
#84 - Quota / @Quotad

02/20/2014 at 02:15PM

5
#85 - Joonas Pihlajamaa / @jokkebk

03/10/2014 at 10:57AM

5
#86 - Felipe Jaramillo F / @mrfelipe

04/16/2014 at 05:47AM

5
#87 - John Braxler / @braxler

05/02/2014 at 04:42PM

5
#88 - Chaitanya Desu / @ChaituNu

05/11/2014 at 04:29AM

5
#89 - Robert Bruce / @therealrobru

06/11/2014 at 12:47AM

5
#90 - magizbox / @rain_1024

07/13/2014 at 03:40AM