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 213 remaining solutions by signing in and submitting your own entry
#214 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

214 active golfers, 554 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

13
#15 - Sailesh Mittal / @saileshmittal

01/09/2011 at 09:13AM

13
#16 - Clive Evans / @swish_bob

01/17/2011 at 11:28PM

13
#17 - Matthieu Honel / @ocus

01/28/2011 at 05:26PM

13
#18 - Tim Chase / @gumnos

06/11/2011 at 12:25AM

13
#19 - Johan Sveholm / @rymdtjuren

06/24/2011 at 04:35AM

13
#20 - Sammasati / @sammasati0

07/15/2011 at 06:11PM

13
#21 - Jim Infield / @jinfield

07/19/2011 at 02:48PM

13
#22 - Jason Then / @racc69

08/09/2011 at 04:25AM

13
#23 - Dario Cazzaro / @darioqa

09/18/2011 at 10:27PM

13
#24 - Jon Keating / @emostar

11/02/2011 at 09:26AM

13
#25 - vimja / @vimja666

11/02/2011 at 11:50PM

13
#26 - nicolas bo / @thevegeta

11/15/2011 at 03:56PM

13
#27 - William Dunand / @wdunand

12/05/2011 at 07:59AM

13
#28 - Al / @96258

12/12/2011 at 01:52PM

13
#29 - Jaime A. Sánchez / @jashbeta

12/22/2011 at 06:45AM

13
#30 - Henry Johnes / @xeosvn

01/31/2012 at 01:25PM