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

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

161 active golfers, 290 entries

Solutions by @nickandbro:
5
#125 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

6
#>151 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

7
#>152 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

9
#>153 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

12
#>154 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

25
#>155 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

32
#>157 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

39
#>158 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

43
#>159 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

65
#>160 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

158
#>161 - nickGPT / @nickandbro

08/28/2024 at 06:53PM