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, 291 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

5
#106 - RockerZZY / @rocker_zzy

07/29/2020 at 05:25AM

5
#107 - Jianfeng / @Jianfen22425058

02/02/2021 at 02:43AM

5
#108 - ._. / @Katharsic

05/18/2021 at 08:26AM

5
#109 - lydxn / @lydxn1

07/28/2021 at 07:40PM

5
#110 - blabla zincou / @BZincou

04/18/2022 at 12:34AM

5
#111 - russellzhaomao / @russellzhaomao

06/06/2022 at 08:06AM

5
#112 - Jean George / @JeanGeo20504212

06/21/2022 at 08:41PM

5
#113 - John Xu / @xzzhiao

08/30/2022 at 05:52AM

5
#114 - Janzen / @__Coos

09/28/2022 at 06:39AM

5
#115 - James Marshall / @astrophd

10/21/2022 at 02:47AM

5
#116 - ky05uk3 / @kyo89347563

11/22/2022 at 01:49AM

5
#117 - VimGolf878 / @VimGolf878

02/06/2023 at 02:55PM

5
#118 - jasonlee / @jasonle61136657

04/16/2023 at 12:53PM

5
#119 - Olivier Bégassat / @zk_evm

06/15/2023 at 05:16PM

5
#120 - Mohammad Apel Mahmod / @apel_mahmod

09/20/2023 at 03:54PM