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 65 remaining solutions by signing in and submitting your own entry
#66 Lennart / @lennartack - Score: 1197 - 04/13/24 @ 19:41
VGdi<50-53>Neque aliquam vestibulum morbi blandit cursus<CR>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua<CR>Platea dictumst vestibulum rhoncus est pellentesque elit ullamcorper dignissim<CR>Aliquam eleifend mi in nulla<CR>Egestas quis ipsum suspendisse ultrices gravida dictum<CR>Commodo ullamcorper a lacus vestibulum sed arcu non odio<CR>Praesent elementum facilisis leo vel fringilla est ullamcorper eget nulla<CR>Et odio pellentesque diam volutpat commodo sed egestas<CR>Porttitor eget dolor morbi non arcu risus quis varius<CR>Dui vivamus arcu felis bibendum ut tristique et egestas quis<CR>Convallis tellus id interdum velit laoreet<CR>Phasellus faucibus scelerisque eleifend donec pretium vulputate<CR>Eget mi proin sed libero enim sed faucibus turpis<CR>Id donec ultrices tincidunt arcu<CR>Lectus arcu bibendum at varius vel pharetra vel turpis<CR>Varius duis at consectetur lorem donec massa sapien faucibus et<CR>Cursus euismod quis viverra nibh cras pulvinar<CR>Sociis natoque penatibus et magnis dis parturient montes nascetur<CR>Sagittis nisl rhoncus mattis rhoncus<CR>Non quam lacus suspendisse faucibus interdum posuere lorem<CR>Erat velit scelerisque in dictum<Esc>[201~<Esc>ZZ

0 comments


Created by: @braxler

66 active golfers, 290 entries

Leaderboard (lowest score wins):
14
#31 - Justin Haaheim / @justinhaaheim

02/26/2022 at 02:56AM

14
#32 - John Xu / @xzzhiao

04/06/2022 at 02:40AM

14
#33 - Andy Tockman / @atckmn

07/16/2022 at 02:45AM

15
#34 - Baxter / @Baxter79512802

11/13/2021 at 11:36PM

15
#35 - 深窓の令嬢@ドクター / @arbino1031

11/16/2021 at 01:37PM

54
#36 - Tars / @cnTars

10/13/2021 at 11:59AM

59
#37 - Saki Gw / @Sakigw

08/27/2021 at 06:04AM

70
#38 - tien / @tien40766111

12/04/2023 at 05:37AM

70
#39 - nickGPT / @nickandbro

08/23/2024 at 08:20PM

71
#40 - egitto / @egitto

01/06/2024 at 06:36PM

73
#41 - mau-mauricelim / @mau-mauricelim

09/10/2024 at 08:26AM

79
#42 - Vijay Sapre / @vijay_sapre

10/13/2021 at 02:41PM

83
#43 - deusthe / @deusthe91

12/17/2021 at 04:56PM

87
#44 - wingdeans / @wingdeans

09/08/2021 at 12:58AM

87
#45 - Ludovic Schwartz / @ludovicschwartz

11/17/2023 at 03:07PM

89
#46 - Yannik Bürkle / @yannik-b

05/19/2024 at 09:26AM

94
#47 - Dmitriy Popov-Velasco / @dpopovvelasco

09/01/2021 at 09:26PM

96
#48 - Rodney Visser / @_Radnus

03/15/2022 at 06:17PM

100
#49 - yeonlee / @yeonlee13820351

11/09/2021 at 10:40AM

103
#50 - Mahabubur Rahman / @microrony

09/11/2021 at 05:08PM

103
#51 - Jørund Jenssen Berg / @JJBerg83

08/14/2022 at 07:53AM

109
#52 - Ollin Boer Bohan / @madebyollin

08/28/2021 at 03:41PM

110
#53 - Qarthik / @qrthik

10/29/2021 at 09:41AM

112
#54 - cruddybanana1102 / @cruddybanana1102

06/10/2024 at 11:15PM

125
#55 - Karan / @Karan22350073

09/30/2022 at 01:11PM

130
#56 - Jeremy Thompson / @jeremyt918

09/03/2021 at 04:33PM

133
#57 - Ravi S Sinha / @ambidextrousTx

11/09/2021 at 01:12AM

134
#58 - ROBOTSTOP / @ROBOTST0P

12/24/2021 at 05:56PM

134
#59 - Jason Kuan | jasonkuan.eth / @Jason9075Kuan

04/03/2022 at 01:10PM

138
#60 - bastien batardier / @supercamarche

10/07/2022 at 11:24PM