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):
15
#121 - Adrien Fabre / @statox42

05/12/2015 at 11:14PM

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

06/28/2015 at 08:27PM

15
#123 - Chenut Ludovic / @7Brwa7

04/04/2016 at 01:32PM

15
#124 - George Angelopoulos / @g_usermod

08/05/2016 at 08:37PM

15
#125 - 遊騎 / @YukiyasuKK

03/01/2017 at 01:24PM

16
#126 - Fictorial / @fictorial

12/29/2010 at 05:48AM

16
#127 - Matthew Draper / @_matthewd

01/01/2011 at 05:52AM

16
#128 - n / @kivran

01/01/2011 at 06:42PM

16
#129 - Eivind Jahren / @HaskellElephant

01/19/2011 at 03:27PM

16
#130 - Jyun-Fan Tsai / @fakecolor

02/11/2012 at 02:40AM

16
#131 - Daniel Lundin / @danielundin

06/18/2012 at 02:42PM

16
#132 - James / @Dronak

09/03/2013 at 03:04AM

16
#133 - NuM / @NuM314

10/06/2013 at 12:27AM

16
#134 - Greg Hues / @ghues

03/26/2014 at 11:39PM

16
#135 - ramandeep randhawa / @rsrandhawa

04/13/2016 at 04:37AM

16
#136 - Matt / @mcr05

01/01/2017 at 02:53PM

17
#137 - Tom Adams / @holizz

12/29/2010 at 05:17AM

17
#138 - Jeremy Johnstone / @jsjohnst

12/29/2010 at 12:53PM

17
#139 - Kashyap Paidimarri / @kashyapp

12/29/2010 at 04:28PM

17
#140 - Andy Goldstein / @andygoldstein

12/29/2010 at 09:46PM

17
#141 - Josh Weinberg / @jcweinberg

12/29/2010 at 10:43PM

17
#142 - Mike Plotz / @antisuji

12/29/2010 at 11:24PM

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

12/30/2010 at 09:43PM

17
#144 - Dave / @zzdave13

07/15/2011 at 05:22PM

17
#145 - うえっち / @uh_tomo

12/05/2012 at 07:00AM

17
#146 - pikaren / @REALpikaren

01/21/2014 at 04:43AM

17
#147 - Clark DuVall / @theclarkatron

05/19/2015 at 07:12AM

17
#148 - Jurica / @Jurica34581259

12/11/2018 at 03:00PM

17
#149 - 0xdrowsy / @0xdrowsy

07/03/2021 at 05:28AM

18
#150 - clint tseng / @cxlt

12/29/2010 at 05:42AM