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
#121 - Henrique Malheiro / @rike09

10/13/2021 at 11:02AM

11
#122 - Willy / @Willy92273889

02/26/2021 at 04:54PM

11
#123 - b0wman / @b0wman_x00

02/27/2021 at 01:51PM

11
#124 - Dmitrii Bugrov / @dmitrii_bugrov

02/28/2021 at 07:05PM

11
#125 - qsdfqsdf / @qsdfqsd83220776

03/04/2021 at 07:52PM

11
#126 - Emil Braserud / @Erdustiggen

03/06/2021 at 02:23PM

11
#127 - kok / @kok89428331

03/09/2021 at 01:16PM

11
#128 - Janek Szynal / @rrszynka

03/09/2021 at 07:14PM

11
#129 - JohnDoe02 / @Doe02John

03/15/2021 at 04:05PM

11
#130 - jotalera de arrascaeta / @jotachico

03/15/2021 at 05:48PM

11
#131 - 김범준 / @kmbmjn

05/10/2021 at 11:40AM

11
#132 - :wq / @write_quit_22

05/18/2021 at 04:36PM

11
#133 - Andrew Ouzts / @andrew_ouzts

05/20/2021 at 05:21AM

11
#134 - iBhagwan / @iiBhagwan

07/07/2021 at 04:02AM

11
#135 - Lean Lunch / @LunchLean

07/29/2021 at 06:03PM

11
#136 - Matrices Matlab #1 / @matrices_matlab

07/30/2021 at 11:33AM

11
#137 - Shreeram / @Shrimpraam

08/24/2021 at 03:09AM

11
#138 - yancy / @yancy_dong

09/22/2021 at 02:27AM

11
#139 - 100fürn / @hilvmir

09/25/2021 at 07:35PM

12
#140 - James Rayman / @jamsramen

02/25/2021 at 06:43AM

12
#141 - Jake Hedman / @JakeHedman

02/25/2021 at 01:36PM

12
#142 - Marc Assens / @marcassens

02/25/2021 at 05:43PM

12
#143 - a guy / @ayylmsklfjnalsd

02/25/2021 at 10:44PM

12
#144 - jfroffice / @jfroffice

02/26/2021 at 02:38PM

12
#145 - vimgolf321798 / @vimgolf321798

02/26/2021 at 08:24PM

12
#146 - Roland Venesz / @steerio

02/27/2021 at 08:18PM

12
#147 - Piers (Ali) Barber / @logicmonkey0

03/05/2021 at 11:51PM

12
#148 - wuzirui / @wuzirui5

03/10/2021 at 12:33PM

12
#149 - MexicanGolf / @GolfMexican

03/13/2021 at 10:13AM

12
#150 - mindgitrwx / @mindgitrwx

03/14/2021 at 04:19PM