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 402 remaining solutions by signing in and submitting your own entry
#403 Benjamin / @benjamin_le_ - Score: 73 - 05/21/22 @ 09:11
jjjjyl<Up><Up><Up><Up><Down>Op<BS><Esc>p<BS><Down>ppuuuuggGyyGggphjjjyylljkkkkp,..uujjjkyykkpljjdddddd:x<CR>

0 comments


Created by: @iviarcio

403 active golfers, 1480 entries

Leaderboard (lowest score wins):
20
#361 - NewErA / @NewErA79506535

02/24/2021 at 12:44AM

20
#362 - Borna Sadeghi / @borna_sadeghi

03/01/2021 at 08:50PM

20
#363 - 지준혁 / @CfX5fveOHOlydj2

03/02/2021 at 01:20AM

20
#364 - tarsiec / @tarsiec

03/02/2021 at 03:01PM

20
#365 - P. Silintziris / @silintzir

03/07/2021 at 12:37AM

20
#366 - Prof. Sucrose / @ProfSucrose

03/10/2021 at 11:52PM

20
#367 - Cameron Voss / @CameronVoss11

03/11/2021 at 03:10PM

20
#368 - Gaulish_Coder / @GaulishC

11/15/2021 at 10:13PM

20
#369 - 盧小小 / @VegetaLu

04/02/2022 at 06:07AM

20
#370 - Gunter Kluge / @KlugeGunter

04/06/2022 at 04:54PM

21
#371 - Nikhil Sengupta / @SenguptaNikhil

02/26/2021 at 06:33AM

21
#372 - zzan1 / @zzan112

03/06/2021 at 07:38AM

21
#373 - poudyal_rabin / @poudyal_rabin

03/11/2021 at 01:59AM

21
#374 - spock900 / @spock9002

03/14/2021 at 01:23AM

21
#375 - HamzaOPLEX / @HamzaOplex

05/13/2021 at 04:08PM

22
#376 - lei4519 / @lei4519

02/28/2021 at 01:23AM

22
#377 - Alejandro Garrido M / @mogaal

02/28/2021 at 05:27PM

22
#378 - EjectedPlanet / @EjectedPlanet

03/01/2021 at 06:28PM

22
#379 - Andrii Savchenko / @ptico

03/04/2021 at 01:46AM

22
#380 - justinknag / @justinknag

03/14/2021 at 02:07AM

22
#381 - Marian Priebe / @mariankpriebe

10/01/2021 at 09:26AM

22
#382 - dhrubajyoti ghosh / @dhruba02

12/23/2021 at 12:03PM

22
#383 - ryne LEE / @mearyne

12/26/2022 at 06:29AM

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

03/10/2021 at 05:53PM

23
#385 - John Smith / @JohnSmi38307095

03/19/2021 at 02:01PM

23
#386 - Vgrbwat / @vgrbwat

06/03/2021 at 04:40AM

23
#387 - aravindthangavel / @aravindpt

04/11/2022 at 02:40AM

23
#388 - Serhiy Prikhodko / @mastersnetru

05/18/2022 at 10:35AM

23
#389 - Henrique Zerbini Junqueira de Assis / @ZerbiniAssis

10/23/2022 at 10:25PM

23
#390 - Abhijeet Bodas / @apbodas

11/01/2022 at 02:18PM