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):
13
#181 - Scott Berger / @scottberger

09/26/2021 at 05:00AM

14
#182 - Robert Blackwell / @blackfromchina

02/24/2021 at 02:01AM

14
#183 - Tobia Bocchi / @BocchiTobia

02/24/2021 at 03:30PM

14
#184 - arussel / @arussel7

02/24/2021 at 05:20PM

14
#185 - Daniel Andersson / @AnderssonDanzig

02/27/2021 at 10:56AM

14
#186 - Kml / @ptrfnct

02/27/2021 at 08:51PM

14
#187 - Chinmay Chhajed / @chhajedji

03/01/2021 at 08:51AM

14
#188 - Boris / @borisnimcevic

03/14/2021 at 10:37PM

14
#189 - Daniel Qu / @danielq9871

05/08/2021 at 03:55PM

14
#190 - joao neto / @joaonet49907796

05/14/2021 at 06:58PM

14
#191 - morfed7 / @morfed7

06/12/2021 at 03:24AM

14
#192 - Dmitry Maksyoma / @oledestin

06/19/2021 at 02:25PM

14
#193 - Saurav / @ray__saurav

06/20/2021 at 07:01PM

14
#194 - Patrick Martin / @PatrickDMartin

06/29/2021 at 09:26AM

14
#195 - Liu ko / @liukonst

07/05/2021 at 08:45PM

14
#196 - ゆに / @lededex

07/13/2021 at 05:59PM

14
#197 - Sergio / @SergioVl12

07/24/2021 at 03:40PM

14
#198 - Rick de chez Gnous / @GnousRick

07/25/2021 at 01:24PM

14
#199 - TonioLorde21 / @TLorde21

08/27/2021 at 08:48AM

15
#200 - Renato Francia / @RenatoFranciaC

03/04/2021 at 03:44AM

15
#201 - coasterjunkie / @KidVizious

03/08/2021 at 12:29AM

15
#202 - No Name / @NoName74897215

03/13/2021 at 12:36PM

15
#203 - Ivo Blöchliger / @aigledesalpes

03/22/2021 at 08:50PM

15
#204 - Vishal Lal / @VishalL38801943

05/14/2021 at 08:43PM

15
#205 - ._. / @Katharsic

05/16/2021 at 09:18AM

15
#206 - Felice Candilio / @felicemcc

05/20/2021 at 08:02PM

15
#207 - lafwaN / @lafwxN

05/24/2021 at 04:48AM

15
#208 - Scott Atkins / @scottrick49

05/27/2021 at 04:34PM

15
#209 - 鍵岡 / @good_chiaka

07/10/2021 at 11:10AM

15
#210 - Ali Aslan / @AliAsla95742367

07/13/2021 at 12:55PM