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):
18
#181 - nooodl / @nooodl

12/30/2010 at 11:00AM

18
#182 - Kris Jenkins / @krisajenkins

12/30/2010 at 01:34PM

18
#183 - Pete O'Grady / @peteog

01/04/2011 at 11:33AM

18
#184 - Olivier Verdier / @OlivierVerdier

01/04/2011 at 06:31PM

18
#185 - Wonha Ryu / @beingryu

01/11/2011 at 06:35AM

18
#186 - Oleg Roshupkin / @jjjahson

01/18/2011 at 01:49PM

18
#187 - Rob Ciaccio / @RobertoCalavera

01/21/2011 at 01:26PM

18
#188 - vg / @vimgolfer

02/26/2011 at 12:45PM

18
#189 - Derrick Spell / @dcsesq

09/28/2011 at 05:26AM

18
#190 - Nick Bakkegaard / @Bakkemand

11/26/2012 at 11:33PM

18
#191 - Matt Adelman / @Xavierstein

03/20/2013 at 01:11PM

18
#192 - Charlene Tshos / @charlymul

04/19/2013 at 02:40PM

18
#193 - Aaron Josephs / @aaronjosephs1

05/02/2013 at 02:08AM

18
#194 - A. N. / @arez42

10/24/2013 at 03:59PM

18
#195 - Caek / @Caek_

07/29/2014 at 05:18AM

18
#196 - Yann / @yannstad

02/28/2017 at 11:25PM

19
#197 - senokay / @senokay

12/29/2010 at 06:31AM

19
#198 - mightyfoo / @mightyfoo

05/26/2011 at 01:36AM

19
#199 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 11:43AM

19
#200 - Karan / @KaranVaity

05/01/2025 at 02:43PM

20
#201 - heydiplo / @heydiplo

12/29/2010 at 12:53PM

20
#202 - Hendrik Nigul / @nigulh

12/29/2010 at 01:26PM

20
#203 - Ian McCracken / @iancmcc

12/30/2010 at 02:08AM

20
#204 - Adrian Silva / @scyldinga

01/13/2011 at 02:37PM

20
#205 - Fakerabe Ninanotape / @FakerabeNinanot

09/25/2011 at 09:07AM

20
#206 - Gerred Dillon / @justicefries

11/16/2011 at 07:30AM

20
#207 - William Ott / @oddalot

04/14/2015 at 04:17PM

20
#208 - Kyouma / @kyoumaJohn

10/14/2016 at 10:21PM

20
#209 - Jordan ⋈ Running / @swirlee

10/28/2016 at 07:22PM

20
#210 - Sebastian Wieland / @oktupol

01/23/2018 at 02:39PM