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):
6
#121 - brett / @brettyukich

09/22/2013 at 04:23AM

6
#122 - Ram Tamtam / @ramtamtamtam

07/01/2014 at 12:36PM

6
#123 - ltn614 / @ltn614

10/01/2015 at 09:50AM

6
#124 - BESSENG A IREH Guy / @guybesseng

08/22/2019 at 12:21PM

7
#125 - retired account / @retired10072015

01/14/2013 at 10:33PM

9
#126 - shpoont / @shpoont

02/05/2013 at 07:33AM

12
#127 - Vincent Franco / @vinniefranco

02/07/2013 at 09:09AM

25
#128 - Milton Soares Filho / @miltonsoaresf

01/29/2013 at 10:11PM

32
#129 - Torben Rasmussen / @rasmustorben

04/27/2013 at 10:40PM

32
#130 - StrangeNumbers / @NumbersStrange

03/28/2019 at 09:55AM

158
#131 - Justin Knag / @justinknag

09/16/2014 at 06:55AM