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

228 active golfers, 618 entries

Leaderboard (lowest score wins):
18
#151 - Wei Dai / @clvv42

12/29/2010 at 09:41AM

18
#152 - NomadCoder / @nomadcoder

12/29/2010 at 01:27PM

18
#153 - Paul King / @nrocy

12/29/2010 at 07:52PM

18
#154 - nooodl / @nooodl

12/30/2010 at 11:00AM

18
#155 - Kris Jenkins / @krisajenkins

12/30/2010 at 01:34PM

18
#156 - Pete O'Grady / @peteog

01/04/2011 at 11:33AM

18
#157 - Olivier Verdier / @OlivierVerdier

01/04/2011 at 06:31PM

18
#158 - Wonha Ryu / @beingryu

01/11/2011 at 06:35AM

18
#159 - Oleg Roshupkin / @jjjahson

01/18/2011 at 01:49PM

18
#160 - Rob Ciaccio / @RobertoCalavera

01/21/2011 at 01:26PM

18
#161 - vg / @vimgolfer

02/26/2011 at 12:45PM

18
#162 - Derrick Spell / @dcsesq

09/28/2011 at 05:26AM

18
#163 - Nick Bakkegaard / @Bakkemand

11/26/2012 at 11:33PM

18
#164 - Matt Adelman / @Xavierstein

03/20/2013 at 01:11PM

18
#165 - Charlene Tshos / @charlymul

04/19/2013 at 02:40PM

18
#166 - Aaron Josephs / @aaronjosephs1

05/02/2013 at 02:08AM

18
#167 - A. N. / @arez42

10/24/2013 at 03:59PM

18
#168 - Caek / @Caek_

07/29/2014 at 05:18AM

18
#169 - Yann / @yannstad

02/28/2017 at 11:25PM

19
#170 - senokay / @senokay

12/29/2010 at 06:31AM

19
#171 - mightyfoo / @mightyfoo

05/26/2011 at 01:36AM

19
#172 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 11:43AM

20
#173 - heydiplo / @heydiplo

12/29/2010 at 12:53PM

20
#174 - Hendrik Nigul / @nigulh

12/29/2010 at 01:26PM

20
#175 - Ian McCracken / @iancmcc

12/30/2010 at 02:08AM

20
#176 - Adrian Silva / @scyldinga

01/13/2011 at 02:37PM

20
#177 - Fakerabe Ninanotape / @FakerabeNinanot

09/25/2011 at 09:07AM

20
#178 - Gerred Dillon / @justicefries

11/16/2011 at 07:30AM

20
#179 - William Ott / @oddalot

04/14/2015 at 04:17PM

20
#180 - Kyouma / @kyoumaJohn

10/14/2016 at 10:21PM