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

261 active golfers, 750 entries

Leaderboard (lowest score wins):
13
#31 - Johan Sveholm / @rymdtjuren

06/24/2011 at 04:35AM

13
#32 - Sammasati / @sammasati0

07/15/2011 at 06:11PM

13
#33 - Jim Infield / @jinfield

07/19/2011 at 02:48PM

13
#34 - Jason Then / @racc69

08/09/2011 at 04:25AM

13
#35 - Dario Cazzaro / @darioqa

09/18/2011 at 10:27PM

13
#36 - Jon Keating / @emostar

11/02/2011 at 09:26AM

13
#37 - vimja / @vimja666

11/02/2011 at 11:50PM

13
#38 - nicolas bo / @thevegeta

11/15/2011 at 03:56PM

13
#39 - William Dunand / @wdunand

12/05/2011 at 07:59AM

13
#40 - Al / @96258

12/12/2011 at 01:52PM

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

12/22/2011 at 06:45AM

13
#42 - Henry Johnes / @xeosvn

01/31/2012 at 01:25PM

13
#43 - Renat Aksitov / @Korvin79

02/07/2012 at 05:05PM

13
#44 - ise0615 / @ise0615

05/13/2012 at 07:23AM

13
#45 - Rod Knowlton / @codelahoma

05/27/2012 at 02:59AM

13
#46 - Chris Brown / @engineercyb

07/13/2012 at 04:14PM

13
#47 - Kerson Hsiao / @KersonHsiao

07/23/2012 at 02:43AM

13
#48 - Reed Riley / @ReedRile

08/14/2012 at 12:27AM

13
#49 - Victor Ramirez / @virako

08/24/2012 at 03:57PM

13
#50 - vansan / @VinceVansan

08/26/2012 at 06:14PM

13
#51 - Conner McDaniel / @connermcd

09/19/2012 at 01:41AM

13
#52 - Vim rocks / @vimrocks

10/07/2012 at 01:28PM

13
#53 - Jason Wolf / @zephyr_wolf

11/08/2012 at 05:57PM

13
#54 - Drew Neil / @nelstrom

11/26/2012 at 11:51PM

13
#55 - Hubba / @HubbaBubbaFett

12/13/2012 at 09:02PM

13
#56 - joe di castro / @joe_di_castro

12/23/2012 at 08:00PM

13
#57 - Alec Goebel / @zego5360

01/07/2013 at 02:32AM

13
#58 - a24f0600 / @a24f0600

01/08/2013 at 03:41PM

13
#59 - Tyler / @tylerbindon

03/31/2013 at 08:22PM

13
#60 - Petro Тrouq / @zulolosi

07/20/2013 at 11:45AM