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 9v00612800cb000000000210

Reordering Lorem Ipsum

Who even sorted this?

Start file
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
Porttitor eget dolor morbi non arcu risus quis varius
Commodo ullamcorper a lacus vestibulum sed arcu non odio
Dui vivamus arcu felis bibendum ut tristique et egestas quis
Convallis tellus id interdum velit laoreet
Cursus euismod quis viverra nibh cras pulvinar
Eget mi proin sed libero enim sed faucibus turpis
Praesent elementum facilisis leo vel fringilla est ullamcorper eget nulla
Id donec ultrices tincidunt arcu
Varius duis at consectetur lorem donec massa sapien faucibus et
Sociis natoque penatibus et magnis dis parturient montes nascetur
Aliquam eleifend mi in nulla
Lectus arcu bibendum at varius vel pharetra vel turpis
Neque aliquam vestibulum morbi blandit cursus
Platea dictumst vestibulum rhoncus est pellentesque elit ullamcorper dignissim
Erat velit scelerisque in dictum
Et odio pellentesque diam volutpat commodo sed egestas
Egestas quis ipsum suspendisse ultrices gravida dictum
Phasellus faucibus scelerisque eleifend donec pretium vulputate
Non quam lacus suspendisse faucibus interdum posuere lorem
Sagittis nisl rhoncus mattis rhoncus
End file
Neque aliquam vestibulum morbi blandit cursus
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
Platea dictumst vestibulum rhoncus est pellentesque elit ullamcorper dignissim
Aliquam eleifend mi in nulla
Egestas quis ipsum suspendisse ultrices gravida dictum
Commodo ullamcorper a lacus vestibulum sed arcu non odio
Praesent elementum facilisis leo vel fringilla est ullamcorper eget nulla
Et odio pellentesque diam volutpat commodo sed egestas
Porttitor eget dolor morbi non arcu risus quis varius
Dui vivamus arcu felis bibendum ut tristique et egestas quis
Convallis tellus id interdum velit laoreet
Phasellus faucibus scelerisque eleifend donec pretium vulputate
Eget mi proin sed libero enim sed faucibus turpis
Id donec ultrices tincidunt arcu
Lectus arcu bibendum at varius vel pharetra vel turpis
Varius duis at consectetur lorem donec massa sapien faucibus et
Cursus euismod quis viverra nibh cras pulvinar
Sociis natoque penatibus et magnis dis parturient montes nascetur
Sagittis nisl rhoncus mattis rhoncus
Non quam lacus suspendisse faucibus interdum posuere lorem
Erat velit scelerisque in dictum

View Diff

1,21c1,21
< Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
< Porttitor eget dolor morbi non arcu risus quis varius
< Commodo ullamcorper a lacus vestibulum sed arcu non odio
< Dui vivamus arcu felis bibendum ut tristique et egestas quis
< Convallis tellus id interdum velit laoreet
< Cursus euismod quis viverra nibh cras pulvinar
< Eget mi proin sed libero enim sed faucibus turpis
< Praesent elementum facilisis leo vel fringilla est ullamcorper eget nulla
< Id donec ultrices tincidunt arcu
< Varius duis at consectetur lorem donec massa sapien faucibus et
< Sociis natoque penatibus et magnis dis parturient montes nascetur
< Aliquam eleifend mi in nulla
< Lectus arcu bibendum at varius vel pharetra vel turpis
< Neque aliquam vestibulum morbi blandit cursus
< Platea dictumst vestibulum rhoncus est pellentesque elit ullamcorper dignissim
< Erat velit scelerisque in dictum
< Et odio pellentesque diam volutpat commodo sed egestas
< Egestas quis ipsum suspendisse ultrices gravida dictum
< Phasellus faucibus scelerisque eleifend donec pretium vulputate
< Non quam lacus suspendisse faucibus interdum posuere lorem
< Sagittis nisl rhoncus mattis rhoncus
---
> Neque aliquam vestibulum morbi blandit cursus
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
> Platea dictumst vestibulum rhoncus est pellentesque elit ullamcorper dignissim
> Aliquam eleifend mi in nulla
> Egestas quis ipsum suspendisse ultrices gravida dictum
> Commodo ullamcorper a lacus vestibulum sed arcu non odio
> Praesent elementum facilisis leo vel fringilla est ullamcorper eget nulla
> Et odio pellentesque diam volutpat commodo sed egestas
> Porttitor eget dolor morbi non arcu risus quis varius
> Dui vivamus arcu felis bibendum ut tristique et egestas quis
> Convallis tellus id interdum velit laoreet
> Phasellus faucibus scelerisque eleifend donec pretium vulputate
> Eget mi proin sed libero enim sed faucibus turpis
> Id donec ultrices tincidunt arcu
> Lectus arcu bibendum at varius vel pharetra vel turpis
> Varius duis at consectetur lorem donec massa sapien faucibus et
> Cursus euismod quis viverra nibh cras pulvinar
> Sociis natoque penatibus et magnis dis parturient montes nascetur
> Sagittis nisl rhoncus mattis rhoncus
> Non quam lacus suspendisse faucibus interdum posuere lorem
> Erat velit scelerisque in dictum

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 27 remaining solutions by signing in and submitting your own entry
#28 filosofo observador / @filosofoobserva - Score: 178 - 08/27/21 @ 21:01
/neq<CR>ddggPG15Gddggjp/Add<BS><BS><CR>dd<C-O>p/Eg<CR><CR><CR>ndd6GPukkpkjjddjjjjjjjjkP?Pra<CR>ddO<Esc>ukkkkkp?et o<CR>dd7Gp?Por<BS><BS><BS><BS>/Portddd<BS><BS><BS><CR>ddkkkkkP<Esc>?Ph<BS>h<CR>dd<C-O>jjpjddjjjjpjkkkkjjddkkkpjjjddkkpjjjjddkkpjjddkp:wq<CR>

0 comments


Created by: @braxler

28 active golfers, 100 entries

Leaderboard (lowest score wins):
13
#1 - Smylers / @Smylers2

08/27/2021 at 01:36PM

13
#2 - John Braxler / @braxler

08/27/2021 at 01:53PM

13
#3 - Miłosz Łakomy / @foobar01123

08/28/2021 at 07:45AM

13
#4 - Jon Krause / @jkrause314

09/04/2021 at 11:56PM

13
#5 - TW / @tangw

09/19/2021 at 04:04PM

13
#6 - zhang_walter / @zhangwalter1

10/28/2021 at 06:22PM

13
#7 - TimMcGuire / @mcguire

11/11/2021 at 06:32PM

14
#8 - br_bookbinder / @br_bookbinder

08/27/2021 at 02:22PM

14
#9 - mevmev / @mevmev8

08/28/2021 at 11:20AM

14
#10 - Noise Official / @zmunk19

09/07/2021 at 07:36AM

14
#11 - roudens / @roudens2

09/18/2021 at 01:46AM

14
#12 - Yeontaek Kim / @YeontaekK

10/04/2021 at 09:15AM

14
#13 - Jean George / @JeanGeo20504212

10/18/2021 at 08:54AM

15
#14 - Baxter / @Baxter79512802

11/13/2021 at 11:36PM

15
#15 - 深窓の令嬢@百合厨 / @arbino1031

11/16/2021 at 01:37PM

54
#16 - Tars / @cnTars

10/13/2021 at 11:59AM

59
#17 - Saki Gw / @Sakigw

08/27/2021 at 06:04AM

79
#18 - Vijay Sapre / @vijay_sapre

10/13/2021 at 02:41PM

87
#19 - wingdeans / @wingdeans

09/08/2021 at 12:58AM

94
#20 - Dmitriy Popov-Velasco / @dpopovvelasco

09/01/2021 at 09:26PM

100
#21 - yeonlee / @yeonlee13820351

11/09/2021 at 10:40AM

103
#22 - Mahabubur Rahman / @microrony

09/11/2021 at 05:08PM

109
#23 - Ollin Boer Bohan / @madebyollin

08/28/2021 at 03:41PM

110
#24 - Qarthik / @qrthik

10/29/2021 at 09:41AM

130
#25 - Jeremy Thompson / @jeremyt918

09/03/2021 at 04:33PM

133
#26 - Ravi S Sinha / @ambidextrousTx

11/09/2021 at 01:12AM

150
#27 - damien / @GreatTestyTest

08/27/2021 at 06:56PM

178
#28 - filosofo observador / @filosofoobserva

08/27/2021 at 09:01PM