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 4d1aaf2fb11838287d000036

Reverse characters in a line

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

Start file
abcdefghijklmnopqrstuvwxyz
End file
zyxwvutsrqponmlkjihgfedcba

View Diff

--- in	2010-12-28 19:41:39.000000000 -0800
+++ out	2010-12-28 19:41:59.000000000 -0800
@@ -1 +1 @@
-abcdefghijklmnopqrstuvwxyz
+zyxwvutsrqponmlkjihgfedcba

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 266 remaining solutions by signing in and submitting your own entry
#267 Ricardo Mendes / @locks - Score: 194 - 12/30/10 @ 01:54
xpjhxplllllllllllllllllllllllxphhx$phhhx$phhhhx$phhhhhx$phhhhhhx$p7j7hx$p8hx$p9hx$p10hx$p11j11hx$10pup12hx$p13hx$p14hx$p15hx$p16hx$p17hx$p18hx$p19hx$p20hx$p21hx$p22hx$p23hx$p24hx$p25hx$p<Esc>:wq<CR>

0 comments


Created by: @josh_triplett

267 active golfers, 776 entries

Leaderboard (lowest score wins):
12
#1 - Urtica dioica / @udioica

11/26/2012 at 03:04PM

12
#2 - xavier kt / @xav_kt

02/04/2013 at 11:50PM

12
#3 - Adam Bell / @adamgbell

03/29/2013 at 10:01PM

12
#4 - Brent Carmer / @brent_carmer

04/08/2013 at 05:02AM

12
#5 - Marco Hinz / @_mhinz_

05/21/2013 at 02:43PM

12
#6 - John Braxler / @braxler

05/07/2014 at 12:52PM

12
#7 - Johannes H. / @neVexa

10/30/2014 at 01:08PM

12
#8 - Walker Boh / @walker_boh

11/24/2015 at 08:50AM

12
#9 - lynn / @la_lalxu

09/05/2016 at 02:27PM

12
#10 - Daniel / @Daniel00288663

04/03/2017 at 03:44PM

12
#11 - Turkey Man / @lvturkeyman

11/26/2017 at 11:08AM

12
#12 - martin tourneboeuf / @martintournebo1

02/05/2018 at 07:34PM

12
#13 - Iury Adones / @Iury_Adones

05/08/2018 at 05:40PM

12
#14 - Quark / @PuzzleQuark

12/11/2018 at 09:02PM

12
#15 - "Smylers" / @Smylers2

02/22/2019 at 10:40AM

12
#16 - Eric Banisadr / @EBanisadr

09/06/2019 at 04:05PM

12
#17 - Vgrbwat / @vgrbwat

06/10/2021 at 08:22PM

12
#18 - russellzhaomao / @russellzhaomao

05/29/2022 at 11:53AM

12
#19 - Janzen / @__Coos

09/16/2022 at 09:52AM

12
#20 - Qing Liu / @poeminlash

09/20/2022 at 03:02AM

12
#21 - Andrii Soldatenko / @a_soldatenko

10/08/2022 at 03:59PM

12
#22 - Zion Park / @zionpark93

01/08/2023 at 03:13AM

12
#23 - Simo Kivistö / @kivissimo

02/20/2024 at 07:51PM

12
#24 - Peppa Pig / @PeppaPigSg

05/25/2024 at 08:47AM

12
#25 - imperatormatthias / @imperatormatthias

06/18/2024 at 03:22PM

12
#26 - nickGPT / @nickandbro

08/29/2024 at 12:11AM

12
#27 - countime / @countime

11/28/2024 at 12:26AM

13
#28 - Sailesh Mittal / @saileshmittal

01/09/2011 at 09:13AM

13
#29 - Clive Evans / @swish_bob

01/17/2011 at 11:28PM

13
#30 - Matthieu Honel / @ocus

01/28/2011 at 05:26PM