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):
15
#211 - I_Don't_Want_This_Account / @IDontWa59298038

07/15/2021 at 12:48AM

16
#212 - Rob / @merob

03/12/2021 at 12:46PM

16
#213 - anna / @moonbeeaam

03/15/2021 at 03:28PM

16
#214 - Harshit Hajela / @HarshitHajela

04/09/2021 at 12:51AM

16
#215 - simplelife2010 / @simplelife20101

05/13/2021 at 09:38AM

16
#216 - Jaime Holaday / @polyrhythm3

05/14/2021 at 08:00PM

16
#217 - comdicap / @comdicap

05/27/2021 at 09:55PM

16
#218 - A White Dwarf / @AWhiteDwarf1

07/01/2021 at 09:08PM

16
#219 - Ron-Shan,Chang / @highlupin

07/11/2021 at 10:33AM

16
#220 - Un Extraño / @link145m

07/29/2021 at 11:25PM

16
#221 - N2427B / @N2427B

08/03/2021 at 09:09PM

16
#222 - Craig Euler / @euler_craig

09/26/2021 at 03:04AM

17
#223 - John Doe / @JohnDoe75830353

02/24/2021 at 03:50PM

17
#224 - Artur Dumchev / @Liverm0r

02/28/2021 at 01:33PM

17
#225 - terra / @terra_farm

03/03/2021 at 12:52AM

17
#226 - BenMedcalf / @BMedcalf_online

04/17/2021 at 03:03AM

17
#227 - Steven / @Hallzy_18

05/10/2021 at 09:06PM

17
#228 - Kevin Keefe / @KevinKeefe5

05/14/2021 at 01:10AM

17
#229 - Winnie Yeung / @vionwinnie

06/23/2021 at 06:06AM

17
#230 - Markus Muschol / @MarkusMuschol

07/13/2021 at 01:16PM

18
#231 - Juan Pablo Arias / @JuanPaAriasV

02/23/2021 at 09:56PM

18
#232 - Jorel / @J3r137

02/28/2021 at 03:24PM

18
#233 - Flor Zanetta / @flor_z

03/03/2021 at 08:54PM

18
#234 - ktenzin / @ktenzin

04/04/2021 at 06:57PM

18
#235 - David Staley / @DavidStaley2

08/31/2021 at 12:12AM

19
#236 - Tai Le / @letientai299

02/23/2021 at 08:06PM

19
#237 - Arvindh / @spccetime

02/27/2021 at 05:57AM

19
#238 - Cristian Perez Jensen / @Cristia70033867

03/03/2021 at 12:27AM

19
#239 - Gabriel Brousset / @GabBrousset

03/05/2021 at 05:02PM

19
#240 - John / @John18352044

03/09/2021 at 11:19AM