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

136 active golfers, 215 entries

Leaderboard (lowest score wins):
5
#91 - Caek / @Caek_

07/14/2014 at 04:12AM

5
#92 - Paul Kunysch / @kunysch

07/18/2014 at 07:37PM

5
#93 - Elizabeth / @sprinkles418

04/09/2015 at 06:42PM

5
#94 - Robert Goeddel / @f0rdpr3fect

11/13/2015 at 08:13PM

5
#95 - Jon Krause / @jkrause314

01/21/2016 at 09:13AM

5
#96 - Byaruhanga Franklin / @byaruhaf

10/10/2016 at 10:47PM

5
#97 - Edouard Piette / @EdPiette

05/30/2017 at 11:59AM

5
#98 - Gurukandhamoorthi / @Gurukandhamoor1

08/25/2017 at 02:20PM

5
#99 - Brandon Blakeley / @zkelvin

11/27/2017 at 03:34AM

5
#100 - Turkey Man / @lvturkeyman

12/16/2017 at 11:03AM

5
#101 - Evgeny`s Kindle / @EvgenyKindle

05/14/2018 at 07:06AM

5
#102 - Arijus / @argshook

11/28/2019 at 02:42PM

5
#103 - r4d1um / @r4d1um

05/16/2020 at 06:59AM

5
#104 - i5513 / @i5513

05/17/2020 at 10:12PM

5
#105 - Bob Streams / @BobStreams1

06/02/2020 at 03:36PM

6
#106 - z0k / @z0k

01/15/2013 at 03:39AM

6
#107 - Omer Lachish / @rauchy

01/15/2013 at 09:43AM

6
#108 - Kurt Robert Rudolph / @krudolph9

01/15/2013 at 12:17PM

6
#109 - Chris Berragan / @ChrisBerragan

01/17/2013 at 07:07PM

6
#110 - Nipunn Koorapati / @nipunn1313

01/21/2013 at 04:45AM

6
#111 - Aeden Jameson / @daliful

01/22/2013 at 06:47AM

6
#112 - Christopher Harrison / @Xophmeister

01/28/2013 at 10:56AM

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

02/08/2013 at 02:22PM

6
#114 - Andrés Llopis / @andreselsuave

03/04/2013 at 12:39AM

6
#115 - Marcin Katulski / @marcink79

03/21/2013 at 09:16PM

6
#116 - Maarten Claes / @maartencls

03/28/2013 at 09:50PM

6
#117 - Andrius Janauskas / @2theAJ

04/08/2013 at 05:19PM

6
#118 - Karun Ramakrishnan / @the_karun

04/16/2013 at 10:32PM

6
#119 - David Yan / @david_yan

04/18/2013 at 07:38PM

6
#120 - Daniel Hernik / @danielhernik

05/15/2013 at 04:12PM