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

239 active golfers, 657 entries

Leaderboard (lowest score wins):
17
#151 - Dave / @zzdave13

07/15/2011 at 05:22PM

17
#152 - うえっち / @uh_tomo

12/05/2012 at 07:00AM

17
#153 - pikaren / @REALpikaren

01/21/2014 at 04:43AM

17
#154 - Clark DuVall / @theclarkatron

05/19/2015 at 07:12AM

17
#155 - Jurica / @Jurica34581259

12/11/2018 at 03:00PM

17
#156 - 時空裂縫 / @0xdcbf

07/03/2021 at 05:28AM

18
#157 - clint tseng / @cxlt

12/29/2010 at 05:42AM

18
#158 - Wei Dai / @clvv42

12/29/2010 at 09:41AM

18
#159 - NomadCoder / @nomadcoder

12/29/2010 at 01:27PM

18
#160 - Paul King / @nrocy

12/29/2010 at 07:52PM

18
#161 - nooodl / @nooodl

12/30/2010 at 11:00AM

18
#162 - Kris Jenkins / @krisajenkins

12/30/2010 at 01:34PM

18
#163 - Pete O'Grady / @peteog

01/04/2011 at 11:33AM

18
#164 - Olivier Verdier / @OlivierVerdier

01/04/2011 at 06:31PM

18
#165 - Wonha Ryu / @beingryu

01/11/2011 at 06:35AM

18
#166 - Oleg Roshupkin / @jjjahson

01/18/2011 at 01:49PM

18
#167 - Rob Ciaccio / @RobertoCalavera

01/21/2011 at 01:26PM

18
#168 - vg / @vimgolfer

02/26/2011 at 12:45PM

18
#169 - Derrick Spell / @dcsesq

09/28/2011 at 05:26AM

18
#170 - Nick Bakkegaard / @Bakkemand

11/26/2012 at 11:33PM

18
#171 - Matt Adelman / @Xavierstein

03/20/2013 at 01:11PM

18
#172 - Charlene Tshos / @charlymul

04/19/2013 at 02:40PM

18
#173 - Aaron Josephs / @aaronjosephs1

05/02/2013 at 02:08AM

18
#174 - A. N. / @arez42

10/24/2013 at 03:59PM

18
#175 - Caek / @Caek_

07/29/2014 at 05:18AM

18
#176 - Yann / @yannstad

02/28/2017 at 11:25PM

19
#177 - senokay / @senokay

12/29/2010 at 06:31AM

19
#178 - mightyfoo / @mightyfoo

05/26/2011 at 01:36AM

19
#179 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 11:43AM

20
#180 - heydiplo / @heydiplo

12/29/2010 at 12:53PM