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 60340000c06738000924d803

Inverting Lines

A simple challenge to invert all lines, except the first.

Start file
Here’s the thing about Vim.
Ex mode too, and it’s magic! 
Ex commands, there be dragons!
Until you realize it can help you be more efficient.
Learning about regexes sounds boring,
End file
Here’s the thing about Vim.
Learning about regexes sounds boring,
Until you realize it can help you be more efficient.
Ex commands, there be dragons!
Ex mode too, and it’s magic! 

View Diff

2,4d1
< Ex mode too, and it’s magic! 
< Ex commands, there be dragons!
< Until you realize it can help you be more efficient.
5a3,5
> Until you realize it can help you be more efficient.
> Ex commands, there be dragons!
> Ex mode too, and it’s magic! 

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 273 remaining solutions by signing in and submitting your own entry
#274 C_SEUNGHO / @aa1916090018425 - Score: 27 - 03/09/21 @ 03:26
jjjjdd2kkpjddjpkddkpukp:wq<CR>

0 comments


Created by: @iviarcio

274 active golfers, 1009 entries

Leaderboard (lowest score wins):
19
#241 - thiago viana / @thide11

03/15/2021 at 04:38AM

19
#242 - ouuan / @ouuan

03/20/2021 at 03:30PM

19
#243 - Nikita Evdokimov / @EvdokimovN

05/13/2021 at 02:44PM

19
#244 - Roman Matzutt / @matzutt

06/13/2021 at 01:50PM

19
#245 - Aastha Grover / @awaitingzenith

06/19/2021 at 05:43PM

19
#246 - Lucas Hourquin / @LHourquin

06/24/2021 at 01:42AM

19
#247 - Jean-Francois Parent / @hacker_pyrat

08/01/2021 at 06:14PM

20
#248 - NewErA / @NewErA79506535

02/24/2021 at 12:44AM

20
#249 - Borna Sadeghi / @borna_sadeghi

03/01/2021 at 08:50PM

20
#250 - 지준혁 / @CfX5fveOHOlydj2

03/02/2021 at 01:20AM

20
#251 - tarsiec / @tarsiec

03/02/2021 at 03:01PM

20
#252 - P. Silintziris / @silintzir

03/07/2021 at 12:37AM

20
#253 - Prof. Sucrose / @ProfSucrose

03/10/2021 at 11:52PM

20
#254 - Cameron Voss / @CameronVoss11

03/11/2021 at 03:10PM

21
#255 - Nikhil Sengupta / @SenguptaNikhil

02/26/2021 at 06:33AM

21
#256 - zzan1 / @zzan112

03/06/2021 at 07:38AM

21
#257 - poudyal_rabin / @poudyal_rabin

03/11/2021 at 01:59AM

21
#258 - spock900 / @spock9002

03/14/2021 at 01:23AM

21
#259 - HamzaOPLEX / @HamzaOplex

05/13/2021 at 04:08PM

22
#260 - lei4519 / @lei4519

02/28/2021 at 01:23AM

22
#261 - Alejandro Garrido M / @mogaal

02/28/2021 at 05:27PM

22
#262 - EjectedPlanet / @EjectedPlanet

03/01/2021 at 06:28PM

22
#263 - Andrii Savchenko / @ptico

03/04/2021 at 01:46AM

22
#264 - justinknag / @justinknag

03/14/2021 at 02:07AM

22
#265 - Marian Priebe / @mariankpriebe

10/01/2021 at 09:26AM

23
#266 - MΛЯK | FAWG / @omwbbl

03/10/2021 at 05:53PM

23
#267 - John Smith / @JohnSmi38307095

03/19/2021 at 02:01PM

23
#268 - Vgrbwat / @vgrbwat

06/03/2021 at 04:40AM

24
#269 - Jakob Hyldtoft / @hylle

03/14/2021 at 12:31AM

24
#270 - 陳奕豪 / @r0PdXfxBX3MFcw3

03/15/2021 at 08:31AM