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):
16
#151 - Matthew Draper / @_matthewd

01/01/2011 at 05:52AM

16
#152 - n / @kivran

01/01/2011 at 06:42PM

16
#153 - Eivind Jahren / @HaskellElephant

01/19/2011 at 03:27PM

16
#154 - Jyun-Fan Tsai / @fakecolor

02/11/2012 at 02:40AM

16
#155 - Daniel Lundin / @danielundin

06/18/2012 at 02:42PM

16
#156 - James / @Dronak

09/03/2013 at 03:04AM

16
#157 - NuM / @NuM314

10/06/2013 at 12:27AM

16
#158 - Greg Hues / @ghues

03/26/2014 at 11:39PM

16
#159 - ramandeep randhawa / @rsrandhawa

04/13/2016 at 04:37AM

16
#160 - Matt / @mcr05

01/01/2017 at 02:53PM

16
#161 - ._. / @Katharsic

04/24/2022 at 02:40PM

16
#162 - cotarmanach / @cotarmanach

05/27/2024 at 09:50PM

17
#163 - Tom Adams / @holizz

12/29/2010 at 05:17AM

17
#164 - Jeremy Johnstone / @jsjohnst

12/29/2010 at 12:53PM

17
#165 - Kashyap Paidimarri / @kashyapp

12/29/2010 at 04:28PM

17
#166 - Andy Goldstein / @andygoldstein

12/29/2010 at 09:46PM

17
#167 - Josh Weinberg / @jcweinberg

12/29/2010 at 10:43PM

17
#168 - Mike Plotz / @antisuji

12/29/2010 at 11:24PM

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

12/30/2010 at 09:43PM

17
#170 - Dave / @zzdave13

07/15/2011 at 05:22PM

17
#171 - うえっち / @uh_tomo

12/05/2012 at 07:00AM

17
#172 - pikaren / @REALpikaren

01/21/2014 at 04:43AM

17
#173 - Clark DuVall / @theclarkatron

05/19/2015 at 07:12AM

17
#174 - Jurica / @Jurica34581259

12/11/2018 at 03:00PM

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

07/03/2021 at 05:28AM

17
#176 - steve / @steve35773420

03/04/2023 at 06:15PM

18
#177 - clint tseng / @cxlt

12/29/2010 at 05:42AM

18
#178 - Wei Dai / @clvv42

12/29/2010 at 09:41AM

18
#179 - NomadCoder / @nomadcoder

12/29/2010 at 01:27PM

18
#180 - Paul King / @nrocy

12/29/2010 at 07:52PM