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):
13
#91 - pajamaman7 aka tommyBuckets / @pajamaman7

05/28/2024 at 09:35PM

13
#92 - Colonelviied / @Colonelviied

08/07/2024 at 11:40PM

13
#93 - Tsimon Dorakh / @Tsimon-Dorakh

10/28/2024 at 01:13PM

13
#94 - bounce114 / @bounce114

12/02/2024 at 09:12AM

13
#95 - Sergii Pidgornyi / @spodgorn

02/14/2025 at 02:51PM

14
#96 - Henrik Nyh / @henrik

12/29/2010 at 05:40PM

14
#97 - Thedward the Edward / @thedward

01/01/2011 at 07:14AM

14
#98 - Israel Chauca F. / @Raimondi

01/01/2011 at 09:57PM

14
#99 - Junfeng / @junfeng

07/17/2011 at 10:08AM

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

07/17/2013 at 03:33AM

14
#101 - amodo / @siskin

07/29/2013 at 09:14PM

14
#102 - Steve Tjoa / @stevetjoa

08/09/2013 at 02:39AM

14
#103 - Jonathan Kim / @jonnykim

08/27/2013 at 06:58PM

14
#104 - Dario Avitabile / @tutticapaci

09/01/2014 at 10:36AM

14
#105 - TheProgrammer971 / @tp971

03/14/2015 at 11:06PM

14
#106 - 朱国栋 / @GuodongZhu

03/17/2016 at 08:09PM

14
#107 - Miłosz Łakomy / @foobar01123

02/19/2020 at 10:06AM

15
#108 - Andrew Scala / @agscala

12/29/2010 at 06:09AM

15
#109 - Ben C / @cben

12/29/2010 at 07:15AM

15
#110 - foo bar / @whoever_foo

12/29/2010 at 07:25AM

15
#111 - johnny / @johnnychm

12/29/2010 at 01:11PM

15
#112 - Mikel Ward / @mikelward

12/30/2010 at 12:52PM

15
#113 - Akira Matsuda / @a_matsuda

12/30/2010 at 04:17PM

15
#114 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 06:07PM

15
#115 - Douglas Stockwell / @dstockwell

12/30/2010 at 09:04PM

15
#116 - Alain Gilbert / @alain_gilbert

12/31/2010 at 09:35PM

15
#117 - larsd / @larsd

12/31/2010 at 09:43PM

15
#118 - Asmund / @herrasbe

01/02/2011 at 07:17AM

15
#119 - David Lam / @lamdk

01/02/2011 at 09:14AM

15
#120 - Stuart Gale / @bishboria

01/02/2011 at 07:41PM