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

268 active golfers, 778 entries

Leaderboard (lowest score wins):
15
#121 - Dan Smith / @untermrad

01/03/2011 at 07:16AM

15
#122 - Kyle Willmon / @kylewillmon

01/03/2011 at 05:22PM

15
#123 - Ravil Bayramgalin / @brainopia

01/08/2011 at 10:47PM

15
#124 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 06:33PM

15
#125 - ImABigWookie / @imabigwookie

01/31/2011 at 05:03AM

15
#126 - Rolf K. / @mindleftbody

06/17/2011 at 01:15PM

15
#127 - Andrey Ivanov / @Bytamine

08/10/2011 at 09:19AM

15
#128 - Trevor Powell / @DoomedBunnies

11/29/2011 at 05:19AM

15
#129 - fred6 / @_fred6

12/19/2011 at 04:30AM

15
#130 - Nolen Royalty / @NolenRoyalty

04/21/2012 at 02:46AM

15
#131 - Taylor Rose / @trose89

07/13/2012 at 10:18PM

15
#132 - Charles Gordon / @liberalbias

08/26/2012 at 12:29AM

15
#133 - tmr / @tmr314

09/05/2012 at 05:34PM

15
#134 - Darcy Parker / @DarcyParker

11/12/2012 at 04:03PM

15
#135 - JonLz / @LzJon

12/26/2012 at 08:09PM

15
#136 - Yann Moisan / @YannMoisan

02/02/2013 at 03:13PM

15
#137 - gnobbles / @gnobbles

03/30/2013 at 11:28PM

15
#138 - 张文远 / @zhwenyuan

05/24/2013 at 09:19AM

15
#139 - Thameera Senanayaka / @thameera

10/04/2013 at 03:37PM

15
#140 - Sam Burk / @smwbk

12/21/2013 at 11:38PM

15
#141 - Joonas Pihlajamaa / @jokkebk

02/21/2014 at 07:23AM

15
#142 - r. / @rmarvie

12/20/2014 at 10:27PM

15
#143 - Adrien Fabre / @statox42

05/12/2015 at 11:14PM

15
#144 - Skúli Jóhannsson / @skulibj

06/28/2015 at 08:27PM

15
#145 - Chenut Ludovic / @7Brwa7

04/04/2016 at 01:32PM

15
#146 - George Angelopoulos / @g_usermod

08/05/2016 at 08:37PM

15
#147 - 遊騎 / @YukiyasuKK

03/01/2017 at 01:24PM

15
#148 - Leonard Bereska / @LeonardBereska

02/20/2023 at 07:12PM

15
#149 - Aly Thobani / @alythobani

05/28/2024 at 12:49AM

16
#150 - Fictorial / @fictorial

12/29/2010 at 05:48AM