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 by @jkrause314:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @udioica

156 active golfers, 273 entries

Solutions by @jkrause314:
5
#95 - Jon Krause / @jkrause314

01/21/2016 at 09:13AM