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

161 active golfers, 290 entries

Leaderboard (lowest score wins):
5
#121 - Monkey Boy / @monkey29089

09/23/2023 at 04:47AM

5
#122 - Peppa Pig / @PeppaPigSg

04/22/2024 at 03:31AM

5
#123 - bonettimrc / @bonettimrc

04/27/2024 at 10:08PM

5
#124 - luke37842 / @luke37842

05/17/2024 at 11:38AM

5
#125 - nickGPT / @nickandbro

08/28/2024 at 06:54PM

5
#126 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

08/30/2024 at 01:35AM

6
#127 - z0k / @z0k

01/15/2013 at 03:39AM

6
#128 - Omer Lachish / @rauchy

01/15/2013 at 09:43AM

6
#129 - Kurt Robert Rudolph / @krudolph9

01/15/2013 at 12:17PM

6
#130 - Chris Berragan / @ChrisBerragan

01/17/2013 at 07:07PM

6
#131 - Nipunn Koorapati / @nipunn1313

01/21/2013 at 04:45AM

6
#132 - Aeden Jameson / @daliful

01/22/2013 at 06:47AM

6
#133 - Christopher Harrison / @Xophmeister

01/28/2013 at 10:56AM

6
#134 - Jaime A. Sánchez / @jashbeta

02/08/2013 at 02:22PM

6
#135 - Andrés Llopis / @andreselsuave

03/04/2013 at 12:39AM

6
#136 - Marcin Katulski / @marcink79

03/21/2013 at 09:16PM

6
#137 - Maarten Claes / @maartencls

03/28/2013 at 09:50PM

6
#138 - Andrius Janauskas / @2theAJ

04/08/2013 at 05:19PM

6
#139 - Karun Ramakrishnan / @the_karun

04/16/2013 at 10:32PM

6
#140 - David Yan / @david_yan

04/18/2013 at 07:38PM

6
#141 - Daniel Hernik / @danielhernik

05/15/2013 at 04:12PM

6
#142 - Spencer Rogers / @spencer1248

05/25/2013 at 02:57AM

6
#143 - Nathan / @NathanHarperoni

08/07/2013 at 03:21PM

6
#144 - Dave Aitken / @actionshrimp

08/27/2013 at 07:44PM

6
#145 - Hachez Floran / @FloranHachez

09/05/2013 at 11:51AM

6
#146 - brett / @brettyukich

09/22/2013 at 04:23AM

6
#147 - Ram Tamtam / @ramtamtamtam

07/01/2014 at 12:36PM

6
#148 - ltn614 / @ltn614

10/01/2015 at 09:50AM

6
#149 - BESSENG A IREH Guy / @guybesseng

08/22/2019 at 12:21PM

6
#150 - Alex / @AlexanderHeatl2

07/05/2022 at 06:28PM