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):
12
#151 - Linus Bergman / @LinusBergman8

04/30/2021 at 07:42AM

12
#152 - Robear Selwans / @mo7sener

05/12/2021 at 02:40PM

12
#153 - Calarasanu Andrei / @_fanfani4_

05/18/2021 at 08:09PM

12
#154 - grsh / @girish_i_am

05/21/2021 at 03:00PM

12
#155 - noname / @1____NULL____0

07/11/2021 at 08:26PM

12
#156 - tpoeiras / @tpoeirass

08/03/2021 at 04:24PM

12
#157 - Yeontaek Kim / @YeontaekK

08/21/2021 at 03:12AM

12
#158 - zai / @zaidhaaan

09/13/2021 at 12:23PM

13
#159 - せいほう / @FICSQF

02/22/2021 at 09:56PM

13
#160 - chocolate / @chocola81394123

02/23/2021 at 05:56AM

13
#161 - Madelyn Freed / @demonaday

02/23/2021 at 03:53PM

13
#162 - Xzavie / @Xzavie3

02/25/2021 at 03:57AM

13
#163 - samuel wang / @phyguan

02/26/2021 at 03:42AM

13
#164 - Tarek Fadali / @FadaliTarek

03/03/2021 at 09:31PM

13
#165 - Julius Marozas / @JuliusMarozas

03/05/2021 at 10:44PM

13
#166 - Mattias Fransson / @azzidoos

03/09/2021 at 08:53AM

13
#167 - Danny Sanchez / @Dane1410s

03/10/2021 at 02:46AM

13
#168 - Kaustubh Murumkar / @k_austub_h

03/10/2021 at 02:21PM

13
#169 - Robert Verst / @r_verst

03/15/2021 at 12:56PM

13
#170 - Azeddine Hamdaoui / @Azeddine_Hmd

03/16/2021 at 03:39AM

13
#171 - asdgfwaefewf123123 / @asdgfwaefewf121

03/17/2021 at 12:26PM

13
#172 - Thanh-Nhan Nguyen / @ThanhNh17788701

05/12/2021 at 02:06AM

13
#173 - Paweł Styczewski / @kryspuss

05/19/2021 at 11:03AM

13
#174 - dreamers00 / @dreamers003

05/23/2021 at 06:31PM

13
#175 - Lee Kian Tat Ken / @thekingtat

06/07/2021 at 08:04AM

13
#176 - Jacob Wood / @jacoblandonwood

06/15/2021 at 03:07AM

13
#177 - ボードゲーム! / @boardgame_JP

07/17/2021 at 01:54AM

13
#178 - Tom / @Toromtomtom

08/11/2021 at 12:54PM

13
#179 - Armand Coretchi / @armandcoretchi_

08/13/2021 at 02:54PM

13
#180 - Rory Smith / @alan0buchanan

09/14/2021 at 09:44PM