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 @xzzhiao:

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

161 active golfers, 290 entries

Solutions by @xzzhiao:
5
#113 - John Xu / @xzzhiao

08/30/2022 at 05:52AM

6
#>150 - John Xu / @xzzhiao

08/30/2022 at 05:52AM

7
#>152 - John Xu / @xzzhiao

08/30/2022 at 05:51AM