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):
10
#61 - omer vishlitzky / @OVishlitzky

03/16/2021 at 03:23PM

10
#62 - Michael Nacos / @mnacos

03/16/2021 at 04:16PM

10
#63 - KaKiG / @KaKiGD

03/17/2021 at 03:57PM

10
#64 - Protect the economy. Work at work. / @mrcornflakes

05/07/2021 at 03:24PM

10
#65 - m397 / @m39752809546

05/12/2021 at 12:52PM

10
#66 - Jens Junker Pedersen / @junker_jens

05/12/2021 at 03:08PM

10
#67 - anna carrigan / @annamooseity

05/14/2021 at 10:50PM

10
#68 - Antoine Hachez / @Antoine_Hachez

05/16/2021 at 10:14AM

10
#69 - MagazinePosh / @mercadoposh

05/18/2021 at 06:51AM

10
#70 - 44 / @e__oioi

05/21/2021 at 02:11AM

10
#71 - Peter Salvi / @salvipeter

05/21/2021 at 12:27PM

10
#72 - Robert B. / @robsikba

05/21/2021 at 08:11PM

10
#73 - Kyle / @Kyle98675198

05/31/2021 at 04:41AM

10
#74 - Miłosz Łakomy / @foobar01123

05/31/2021 at 11:37AM

10
#75 - Dendy / @Dendy7h

06/04/2021 at 07:43AM

10
#76 - czheo / @czheo

06/04/2021 at 08:07AM

10
#77 - INMOTURISMO / @inmoturismosas

06/08/2021 at 05:08AM

10
#78 - grosa / @_grosa_

06/10/2021 at 05:14AM

10
#79 - loupiot.veloce / @LoupiotVeloce

06/13/2021 at 07:43AM

10
#80 - roudens / @roudens2

06/13/2021 at 10:15AM

10
#81 - Patrick Gates / @patrickgates

06/17/2021 at 05:22AM

10
#82 - max / @max_vimaster

06/25/2021 at 09:56AM

10
#83 - Devin Roark / @dsroark

06/25/2021 at 02:08PM

10
#84 - Adam / @Adam75625825

06/26/2021 at 08:57PM

10
#85 - Ethan Rietz / @EthanRietz

06/28/2021 at 03:28PM

10
#86 - sap / @sap38838304

06/28/2021 at 04:49PM

10
#87 - 0xdrowsy / @0xdrowsy

07/01/2021 at 02:17PM

10
#88 - Georg Bökman / @BokmanGeorg

07/02/2021 at 07:51PM

10
#89 - Harrison / @ardentcow

07/03/2021 at 12:54AM

10
#90 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 01:00PM