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):
15
#121 - gnobbles / @gnobbles

03/30/2013 at 11:28PM

15
#122 - 张文远 / @zhwenyuan

05/24/2013 at 09:19AM

15
#123 - Thameera Senanayaka / @thameera

10/04/2013 at 03:37PM

15
#124 - Sam Burk / @smwbk

12/21/2013 at 11:38PM

15
#125 - Joonas Pihlajamaa / @jokkebk

02/21/2014 at 07:23AM

15
#126 - r. / @rmarvie

12/20/2014 at 10:27PM

15
#127 - Adrien Fabre / @statox42

05/12/2015 at 11:14PM

15
#128 - Skúli Jóhannsson / @skulibj

06/28/2015 at 08:27PM

15
#129 - Chenut Ludovic / @7Brwa7

04/04/2016 at 01:32PM

15
#130 - George Angelopoulos / @g_usermod

08/05/2016 at 08:37PM

15
#131 - 遊騎 / @YukiyasuKK

03/01/2017 at 01:24PM

16
#132 - Fictorial / @fictorial

12/29/2010 at 05:48AM

16
#133 - Matthew Draper / @_matthewd

01/01/2011 at 05:52AM

16
#134 - n / @kivran

01/01/2011 at 06:42PM

16
#135 - Eivind Jahren / @HaskellElephant

01/19/2011 at 03:27PM

16
#136 - Jyun-Fan Tsai / @fakecolor

02/11/2012 at 02:40AM

16
#137 - Daniel Lundin / @danielundin

06/18/2012 at 02:42PM

16
#138 - James / @Dronak

09/03/2013 at 03:04AM

16
#139 - NuM / @NuM314

10/06/2013 at 12:27AM

16
#140 - Greg Hues / @ghues

03/26/2014 at 11:39PM

16
#141 - ramandeep randhawa / @rsrandhawa

04/13/2016 at 04:37AM

16
#142 - Matt / @mcr05

01/01/2017 at 02:53PM

16
#143 - ._. / @Katharsic

04/24/2022 at 02:40PM

17
#144 - Tom Adams / @holizz

12/29/2010 at 05:17AM

17
#145 - Jeremy Johnstone / @jsjohnst

12/29/2010 at 12:53PM

17
#146 - Kashyap Paidimarri / @kashyapp

12/29/2010 at 04:28PM

17
#147 - Andy Goldstein / @andygoldstein

12/29/2010 at 09:46PM

17
#148 - Josh Weinberg / @jcweinberg

12/29/2010 at 10:43PM

17
#149 - Mike Plotz / @antisuji

12/29/2010 at 11:24PM

17
#150 - Przemysław Pawełczyk / @przemoc86

12/30/2010 at 09:43PM