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

236 active golfers, 645 entries

Leaderboard (lowest score wins):
13
#31 - William Dunand / @wdunand

12/05/2011 at 07:59AM

13
#32 - Al / @96258

12/12/2011 at 01:52PM

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

12/22/2011 at 06:45AM

13
#34 - Henry Johnes / @xeosvn

01/31/2012 at 01:25PM

13
#35 - Renat Aksitov / @Korvin79

02/07/2012 at 05:05PM

13
#36 - ise0615 / @ise0615

05/13/2012 at 07:23AM

13
#37 - Rod Knowlton / @codelahoma

05/27/2012 at 02:59AM

13
#38 - Chris Brown / @engineercyb

07/13/2012 at 04:14PM

13
#39 - Kerson Hsiao / @KersonHsiao

07/23/2012 at 02:43AM

13
#40 - Reed Riley / @ReedRile

08/14/2012 at 12:27AM

13
#41 - Victor Ramirez / @virako

08/24/2012 at 03:57PM

13
#42 - vansan / @VinceVansan

08/26/2012 at 06:14PM

13
#43 - Conner McDaniel / @connermcd

09/19/2012 at 01:41AM

13
#44 - Vim rocks / @vimrocks

10/07/2012 at 01:28PM

13
#45 - Jason Wolf / @zephyr_wolf

11/08/2012 at 05:57PM

13
#46 - Drew Neil / @nelstrom

11/26/2012 at 11:51PM

13
#47 - Hubba / @HubbaBubbaFett

12/13/2012 at 09:02PM

13
#48 - joe di castro / @joe_di_castro

12/23/2012 at 08:00PM

13
#49 - Alec Goebel / @zego5360

01/07/2013 at 02:32AM

13
#50 - a24f0600 / @a24f0600

01/08/2013 at 03:41PM

13
#51 - Tyler / @tylerbindon

03/31/2013 at 08:22PM

13
#52 - Petro Тrouq / @zulolosi

07/20/2013 at 11:45AM

13
#53 - brett / @brettyukich

09/24/2013 at 09:06AM

13
#54 - cj / @cj01101

01/30/2014 at 08:56PM

13
#55 - God / @iamgod

03/31/2014 at 09:52AM

13
#56 - Frank Dinoff / @FDinoff

04/03/2014 at 08:03PM

13
#57 - Kai Yuan / @kentyuan

04/03/2014 at 08:05PM

13
#58 - D / @justcallmedrago

04/04/2014 at 09:22PM

13
#59 - Mattias Fransson / @azzidoos

09/08/2014 at 04:08PM

13
#60 - E Both / @enboth

04/09/2015 at 09:43PM