Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, 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 143 remaining solutions by signing in and submitting your own entry
#144 Andrew McDonough / @andrewmcdonough - Score: 21 - 12/29/10 @ 11:18
<fd-35>qamm$vd`mPlq26@aZZ

0 comments

#145 pcapriotti / @pcapriotti - Score: 22 - 12/29/10 @ 04:44
<fd-35>xA a<Esc>qq0xwPq24@qXZZ

0 comments

#146 無ん垢の叫び / @john_ababa - Score: 22 - 05/25/12 @ 23:12
:s/./&<C-V><CR>/g|sor!<CR>27gJZZ

0 comments

#147 J.Kirchartz / @JKirchartz - Score: 22 - 07/20/13 @ 13:52
:s/./&\r/g|so<Tab>!<CR>27gJZZ

0 comments

#148 Christopher Vollick / @psycotica0 - Score: 23 - 12/28/10 @ 20:24
qwxfnp$xFmP0q11@wfmxpZZ

0 comments

#149 Ryan Elmquist / @relmquist - Score: 23 - 12/29/10 @ 00:26
<fd-35>mm$qax`mPlmm$q26@aZZ

0 comments

#150 Joe McCall / @joem86 - Score: 24 - 12/28/10 @ 23:54
<fd-35>xA <C-R>"<Esc>bqaxwPbq24@axZZ

0 comments

#151 DJ Adams / @qmacro - Score: 25 - 12/29/10 @ 10:00
<fd-35>c$<C-O>:set revins<CR><C-R>"<Esc>:wq<CR>

0 comments

#152 Arto Vuori / @dhpe - Score: 25 - 08/30/12 @ 14:08
A <Esc>0qaexA<Esc>p0q24@adtzAa<Esc>ZZ

0 comments

#153 glennphillips / @glennphillips - Score: 25 - 07/11/14 @ 20:17
qali<CR><Esc>q25@a:%sort!<CR>26gJZZ

0 comments

#154 Oliver Christ / @0liverChrist - Score: 26 - 10/09/13 @ 14:23
:s/\S/&\r/g|sor!|%s/\n<CR><CR>ZZ

0 comments

#155 Joe Hassick / @jhassick - Score: 27 - 12/29/10 @ 08:35
<fd-35>:s/./&\r/g|g/^/m0<CR>V}gJZZ

0 comments

#156 Nadja Untendiegruft / @nadjau - Score: 30 - 12/29/10 @ 02:52
Rzyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#157 Behnam Esfahbod / @zwnj - Score: 30 - 12/30/10 @ 04:51
Czyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#158 Juan C. Muller / @juancmuller - Score: 30 - 12/30/10 @ 20:46
Czyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#159 Nick / @quinks25 - Score: 30 - 01/13/11 @ 13:30
Czyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#160 lionel young / @lionelyoung - Score: 31 - 12/28/10 @ 23:47
<fd-35>qna<CR><Esc>q24@n:sort!<CR>qjJxq24@JZZ

0 comments

#161 Guillaume Bonnoron / @gbonnoron - Score: 31 - 12/31/10 @ 03:55
cczyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#162 Dj Vimgolf / @dj_vimgolf - Score: 31 - 01/14/12 @ 10:08
c$zyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#163 drio / @drio - Score: 32 - 12/31/10 @ 17:30
cczyxwvutsrqponmlkjihgfedcba<Esc>:x<CR>

0 comments

#164 ☣Rob Mason☠ / @necr0mancer - Score: 32 - 01/18/11 @ 03:30
ddizyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#165 Paul Tarjan / @ptarjan - Score: 33 - 12/29/10 @ 03:42
<fd-35>Szyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#166 Ujjwol Lamichhane / @Ujjwol - Score: 33 - 12/29/10 @ 04:19
Dizyxwvutsrqponmlkjihgfedcba<Esc>:wq<CR>

0 comments

#167 fake Jon Lorusso / @jonlorusso - Score: 33 - 12/29/10 @ 07:49
<fd-35>Czyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#168 Adam Bachman / @abachman - Score: 33 - 12/29/10 @ 13:47
<fd-35>:s/\(.\)/\1<C-V><CR>/|sor!|%s/\n/<CR><CR>ZZ

0 comments

#169 Rajit Singh / @rajitbsingh - Score: 33 - 12/29/10 @ 15:06
<fd-35>Czyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#170 Lee Marlow / @lmarlow - Score: 33 - 12/29/10 @ 15:43
<fd-35>Czyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#171 Julien Gormotte / @gormux - Score: 33 - 12/30/10 @ 01:47
cczyxwvutsrqponmlkjihgfedcba<Esc>:wq<CR>

0 comments

#172 Chris Lerum / @ChrisLerum - Score: 34 - 12/28/10 @ 21:15
ddizyxwvutsrqponmlkjihgfedcba<Esc>:wq<CR>

0 comments

#173 Alison Rowland / @arowla - Score: 34 - 12/28/10 @ 21:59
<fd-35>cczyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#174 It's Me / @soidid - Score: 35 - 12/28/10 @ 21:47
<fd-35>Czyxwvutsrqponmlkjihgfedcba<Esc>:wq<CR>

0 comments

#175 Scott Werner / @scottwisme - Score: 35 - 12/29/10 @ 06:31
<fd-35>Vdizyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#176 Aleksander Balicki / @alekbalicki - Score: 36 - 12/29/10 @ 06:45
<fd-35><Esc>ddizyxwvutsrqponmlkjihgfedcba<Esc>ZZ

0 comments

#177 Abhishek Mukherjee / @abhishekmukherg - Score: 40 - 12/29/10 @ 08:11
<fd-35>cczyxwvutsrqponmlkjihgfedcba<Esc>:wqa<BS><CR>

0 comments

#178 Ajith Antony / @ajithantony - Score: 47 - 12/29/10 @ 04:30
<fd-35>ddp<Esc><Up>ddddazyxwvutsrqponmlkjihgfedcba<Esc><Esc>:wq<CR>

0 comments

#179 Ricardo Mendes / @locks - Score: 194 - 12/29/10 @ 17:54
<fd-35>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

179 active golfers, 423 entries

Leaderboard (lowest score wins):
12
#1 - Urtica dioica / @udioica

11/26/2012 at 07:04AM

12
#2 - xavier kt / @xav_kt

02/04/2013 at 03:50PM

12
#3 - Adam Bell / @adamgbell

03/29/2013 at 03:01PM

12
#4 - Brent Carmer / @brent_carmer

04/07/2013 at 10:02PM

12
#5 - Marco Hinz / @_mhinz_

05/21/2013 at 07:43AM

12
#6 - John Braxler / @braxler

05/07/2014 at 05:52AM

13
#7 - Sailesh Mittal / @sallyrulez

01/09/2011 at 01:13AM

13
#8 - Clive Evans / @swish_bob

01/17/2011 at 03:28PM

13
#9 - Matthieu Honel / @ocus

01/28/2011 at 09:26AM

13
#10 - Tim Chase / @gumnos

06/10/2011 at 05:25PM

13
#11 - Johan Sveholm / @rymdtjuren

06/23/2011 at 09:35PM

13
#12 - Sammasati / @sammasati0

07/15/2011 at 11:11AM

13
#13 - Jim Infield / @jinfield

07/19/2011 at 07:48AM

13
#14 - Jason Then / @racc69

08/08/2011 at 09:25PM

13
#15 - Dario Cazzaro / @darioqa

09/18/2011 at 03:27PM

13
#16 - Jon Keating / @emostar

11/02/2011 at 02:26AM

13
#17 - vimja / @vimja666

11/02/2011 at 04:50PM

13
#18 - nicolas bo / @thevegeta

11/15/2011 at 07:56AM

13
#19 - William Dunand / @wdunand

12/04/2011 at 11:59PM

13
#20 - Al / @96258

12/12/2011 at 05:52AM

13
#21 - Jaime A. Sánchez / @jashbeta

12/21/2011 at 10:45PM

13
#22 - Henry Johnes / @xeosvn

01/31/2012 at 05:25AM

13
#23 - Renat Aksitov / @Korvin79

02/07/2012 at 09:05AM

13
#24 - ise0615 / @ise0615

05/13/2012 at 12:23AM

13
#25 - Rod Knowlton / @codelahoma

05/26/2012 at 07:59PM

13
#26 - Chris Brown / @engineercyb

07/13/2012 at 09:14AM

13
#27 - Kerson Hsiao / @KersonHsiao

07/22/2012 at 07:43PM

13
#28 - Reed Riley / @ReedRile

08/13/2012 at 05:27PM

13
#29 - Victor Ramirez / @virako

08/24/2012 at 08:57AM

13
#30 - vansan / @VinceVansan

08/26/2012 at 11:14AM

13
#31 - Conner McDaniel / @connermcd

09/18/2012 at 06:41PM

13
#32 - Vim rocks / @vimrocks

10/07/2012 at 06:28AM

13
#33 - Jason Wolf / @zephyr_wolf

11/08/2012 at 09:57AM

13
#34 - Drew Neil / @nelstrom

11/26/2012 at 03:51PM

13
#35 - Hubba / @HubbaBubbaFett

12/13/2012 at 01:02PM

13
#36 - joe di castro / @joe_di_castro

12/23/2012 at 12:00PM

13
#37 - Alec Goebel / @zego5360

01/06/2013 at 06:32PM

13
#38 - a24f0600 / @a24f0600

01/08/2013 at 07:41AM

13
#39 - Tyler / @tylerbindon

03/31/2013 at 01:22PM

13
#40 - Petro Тrouq / @zulolosi

07/20/2013 at 04:45AM

13
#41 - brett / @brettyukich

09/24/2013 at 02:06AM

13
#42 - cj / @cj01101

01/30/2014 at 12:56PM

13
#43 - God / @iamgod

03/31/2014 at 02:52AM

13
#44 - Frank Dinoff / @FDinoff

04/03/2014 at 01:03PM

13
#45 - Kai Yuan / @kentyuan

04/03/2014 at 01:05PM

13
#46 - D / @justcallmedrago

04/04/2014 at 02:22PM

13
#47 - Mattias Fransson / @azzidoos

09/08/2014 at 09:08AM

14
#48 - Henrik Nyh / @henrik

12/29/2010 at 09:40AM

14
#49 - Thedward the Edward / @thedward

12/31/2010 at 11:14PM

14
#50 - Israel Chauca F. / @Raimondi

01/01/2011 at 01:57PM

14
#51 - Hu Junfeng / @junfeng

07/17/2011 at 03:08AM

14
#52 - Woojung Kim 김우중 / @_kimwz

07/16/2013 at 08:33PM

14
#53 - amodo / @siskin

07/29/2013 at 02:14PM

14
#54 - Steve Tjoa / @stevetjoa

08/08/2013 at 07:39PM

14
#55 - Jonathan Kim / @jonnykim

08/27/2013 at 11:58AM

14
#56 - Dario Avitabile / @tutticapaci

09/01/2014 at 03:36AM

15
#57 - Andrew Scala / @agscala

12/28/2010 at 10:09PM

15
#58 - Ben C / @cben

12/28/2010 at 11:15PM

15
#59 - foo bar / @whoever_foo

12/28/2010 at 11:25PM

15
#60 - johnny / @johnnychm

12/29/2010 at 05:11AM

15
#61 - Mikel Ward / @mikelward

12/30/2010 at 04:52AM

15
#62 - Akira Matsuda / @a_matsuda

12/30/2010 at 08:17AM

15
#63 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 10:07AM

15
#64 - Douglas Stockwell / @dstockwell

12/30/2010 at 01:04PM

15
#65 - Alain Gilbert / @alain_gilbert

12/31/2010 at 01:35PM

15
#66 - larsd / @larsd

12/31/2010 at 01:43PM

15
#67 - Asmund Liseth / @Asmund_L

01/01/2011 at 11:17PM

15
#68 - David Lam / @lamdk

01/02/2011 at 01:14AM

15
#69 - Stuart Gale / @bishboria

01/02/2011 at 11:41AM

15
#70 - Dan Smith / @untermrad

01/02/2011 at 11:16PM

15
#71 - Kyle Willmon / @kylewillmon

01/03/2011 at 09:22AM

15
#72 - Ravil Bayramgalin / @brainopia

01/08/2011 at 02:47PM

15
#73 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 10:33AM

15
#74 - ImABigWookie / @imabigwookie

01/30/2011 at 09:03PM

15
#75 - RolfK / @mindleftbody

06/17/2011 at 06:15AM

15
#76 - Andrey Ivanov / @Bytamine

08/10/2011 at 02:19AM

15
#77 - Trevor Powell / @DoomedBunnies

11/28/2011 at 09:19PM

15
#78 - fred6 / @_fred6

12/18/2011 at 08:30PM

15
#79 - Nolen Royalty / @NolenRoyalty

04/20/2012 at 07:46PM

15
#80 - Taylor Rose / @trose89

07/13/2012 at 03:18PM

15
#81 - Charles Gordon / @liberalbias

08/25/2012 at 05:29PM

15
#82 - tmr / @tmr314

09/05/2012 at 10:34AM

15
#83 - Darcy Parker / @DarcyParker

11/12/2012 at 08:03AM

15
#84 - JonLz / @LzJon

12/26/2012 at 12:09PM

15
#85 - Yann Moisan / @YannMoisan

02/02/2013 at 07:13AM

15
#86 - gnobbles / @gnobbles

03/30/2013 at 04:28PM

15
#87 - wushexu / @wushexu

05/24/2013 at 02:19AM

15
#88 - Thameera Senanayaka / @thameera

10/04/2013 at 08:37AM

15
#89 - Sam Burk / @smwbk

12/21/2013 at 03:38PM

15
#90 - Joonas Pihlajamaa / @jokkebk

02/20/2014 at 11:23PM

16
#91 - Fictorial / @fictorial

12/28/2010 at 09:48PM

16
#92 - Matthew Draper / @_matthewd

12/31/2010 at 09:52PM

16
#93 - n / @kivran

01/01/2011 at 10:42AM

16
#94 - Eivind Jahren / @HaskellElephant

01/19/2011 at 07:27AM

16
#95 - Jyun-Fan Tsai / @fakecolor

02/10/2012 at 06:40PM

16
#96 - Daniel Lundin / @danielundin

06/18/2012 at 07:42AM

16
#97 - James / @Dronak

09/02/2013 at 08:04PM

16
#98 - NuM / @NuM314

10/05/2013 at 05:27PM

16
#99 - Greg Hues / @ghues

03/26/2014 at 04:39PM

17
#100 - Tom Adams / @holizz

12/28/2010 at 09:17PM

17
#101 - Jeremy Johnstone / @jsjohnst

12/29/2010 at 04:53AM

17
#102 - Kashyap Paidimarri / @kashyapp

12/29/2010 at 08:28AM

17
#103 - Andy Goldstein / @andygoldstein

12/29/2010 at 01:46PM

17
#104 - Josh Weinberg / @jcweinberg

12/29/2010 at 02:43PM

17
#105 - Mike Plotz / @antisuji

12/29/2010 at 03:24PM

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

12/30/2010 at 01:43PM

17
#107 - Dave / @zzdave13

07/15/2011 at 10:22AM

17
#108 - うえっち / @uh_tomo

12/04/2012 at 11:00PM

17
#109 - pikaren / @REALpikaren

01/20/2014 at 08:43PM

18
#110 - Clint Tseng / @cxlt

12/28/2010 at 09:42PM

18
#111 - Wei Dai / @clvv42

12/29/2010 at 01:41AM

18
#112 - NomadCoder / @nomadcoder

12/29/2010 at 05:27AM

18
#113 - Paul King / @nrocy

12/29/2010 at 11:52AM

18
#114 - nooodl / @nooodl

12/30/2010 at 03:00AM

18
#115 - Kris Jenkins / @krisajenkins

12/30/2010 at 05:34AM

18
#116 - Pete O'Grady / @peteog

01/04/2011 at 03:33AM

18
#117 - Olivier Verdier / @OlivierVerdier

01/04/2011 at 10:31AM

18
#118 - Wonha Ryu / @beingryu

01/10/2011 at 10:35PM

18
#119 - Oleg Roshupkin / @jjjahson

01/18/2011 at 05:49AM

18
#120 - Rob Ciaccio / @RobertoCalavera

01/21/2011 at 05:26AM

18
#121 - vg / @vimgolfer

02/26/2011 at 04:45AM

18
#122 - Derrick Spell / @dcsesq

09/27/2011 at 10:26PM

18
#123 - Nick Bakkegaard / @Bakkemand

11/26/2012 at 03:33PM

18
#124 - Matt Adelman / @Xavierstein

03/20/2013 at 06:11AM

18
#125 - Charlene Tshos / @charlymul

04/19/2013 at 07:40AM

18
#126 - Aaron Josephs / @aaronjosephs1

05/01/2013 at 07:08PM

18
#127 - A. N. / @arez42

10/24/2013 at 08:59AM

18
#128 - Caek / @Caek_

07/28/2014 at 10:18PM

19
#129 - senokay / @senokay

12/28/2010 at 10:31PM

19
#130 - mightyfoo / @mightyfoo

05/25/2011 at 06:36PM

19
#131 - Ram Tamtam / @ramtamtamtam

07/02/2014 at 04:43AM

20
#132 - heydiplo / @heydiplo

12/29/2010 at 04:53AM

20
#133 - Hendrik Nigul / @nigulh

12/29/2010 at 05:26AM

20
#134 - Ian McCracken / @iancmcc

12/29/2010 at 06:08PM

20
#135 - Adrian Silva / @scyldinga

01/13/2011 at 06:37AM

20
#136 - Fakerabe Ninanotape / @FakerabeNinanot

09/25/2011 at 02:07AM

20
#137 - Gerred Dillon / @justicefries

11/15/2011 at 11:30PM

21
#138 - Christopher Suter / @cgs1019

12/28/2010 at 08:01PM

21
#139 - Naveed Massjouni / @ironcamel

12/28/2010 at 09:30PM

21
#140 - Perry Zheng / @PerryZheng

12/28/2010 at 10:38PM

21
#141 - Gordon McCreight / @gmccreight

12/28/2010 at 11:12PM

21
#142 - Adam Pohorecki / @apohorecki

12/29/2010 at 06:00AM

21
#143 - Stephen Mann / @thanthese

12/29/2010 at 06:08AM

21
#144 - Andrew McDonough / @andrewmcdonough

12/29/2010 at 11:18AM

22
#145 - pcapriotti / @pcapriotti

12/29/2010 at 04:44AM

22
#146 - 無ん垢の叫び / @john_ababa

05/25/2012 at 11:12PM

22
#147 - J.Kirchartz / @JKirchartz

07/20/2013 at 01:52PM

23
#148 - Christopher Vollick / @psycotica0

12/28/2010 at 08:24PM

23
#149 - Ryan Elmquist / @relmquist

12/29/2010 at 12:26AM

24
#150 - Joe McCall / @joem86

12/28/2010 at 11:54PM

25
#151 - DJ Adams / @qmacro

12/29/2010 at 10:00AM

25
#152 - Arto Vuori / @dhpe

08/30/2012 at 02:08PM

25
#153 - glennphillips / @glennphillips

07/11/2014 at 08:17PM

26
#154 - Oliver Christ / @0liverChrist

10/09/2013 at 02:23PM

27
#155 - Joe Hassick / @jhassick

12/29/2010 at 08:35AM

30
#156 - Nadja Untendiegruft / @nadjau

12/29/2010 at 02:52AM

30
#157 - Behnam Esfahbod / @zwnj

12/30/2010 at 04:51AM

30
#158 - Juan C. Muller / @juancmuller

12/30/2010 at 08:46PM

30
#159 - Nick / @quinks25

01/13/2011 at 01:30PM

31
#160 - lionel young / @lionelyoung

12/28/2010 at 11:47PM

31
#161 - Guillaume Bonnoron / @gbonnoron

12/31/2010 at 03:55AM

31
#162 - Dj Vimgolf / @dj_vimgolf

01/14/2012 at 10:08AM

32
#163 - drio / @drio

12/31/2010 at 05:30PM

32
#164 - ☣Rob Mason☠ / @necr0mancer

01/18/2011 at 03:30AM

33
#165 - Paul Tarjan / @ptarjan

12/29/2010 at 03:42AM

33
#166 - Ujjwol Lamichhane / @Ujjwol

12/29/2010 at 04:19AM

33
#167 - fake Jon Lorusso / @jonlorusso

12/29/2010 at 07:49AM

33
#168 - Adam Bachman / @abachman

12/29/2010 at 01:47PM

33
#169 - Rajit Singh / @rajitbsingh

12/29/2010 at 03:06PM

33
#170 - Lee Marlow / @lmarlow

12/29/2010 at 03:43PM

33
#171 - Julien Gormotte / @gormux

12/30/2010 at 01:47AM

34
#172 - Chris Lerum / @ChrisLerum

12/28/2010 at 09:15PM

34
#173 - Alison Rowland / @arowla

12/28/2010 at 09:59PM

35
#174 - It's Me / @soidid

12/28/2010 at 09:47PM

35
#175 - Scott Werner / @scottwisme

12/29/2010 at 06:31AM

36
#176 - Aleksander Balicki / @alekbalicki

12/29/2010 at 06:45AM

40
#177 - Abhishek Mukherjee / @abhishekmukherg

12/29/2010 at 08:11AM

47
#178 - Ajith Antony / @ajithantony

12/29/2010 at 04:30AM

194
#179 - Ricardo Mendes / @locks

12/29/2010 at 05:54PM