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):
20
#181 - Jordan ⋈ Running / @swirlee

10/28/2016 at 07:22PM

20
#182 - Sebastian Wieland / @oktupol

01/23/2018 at 02:39PM

20
#183 - RockerZZY / @rocker_zzy

06/27/2020 at 11:17PM

21
#184 - Christopher Suter / @cgs1019

12/29/2010 at 04:01AM

21
#185 - Naveed Massjouni / @ironcamel

12/29/2010 at 05:30AM

21
#186 - Perry Zheng / @PerryZheng

12/29/2010 at 06:38AM

21
#187 - Gordon McCreight / @gmccreight

12/29/2010 at 07:12AM

21
#188 - Adam Pohorecki / @apohorecki

12/29/2010 at 02:00PM

21
#189 - Stephen Mann / @thanthese

12/29/2010 at 02:08PM

21
#190 - Andrew McDonough / @andrewmcdonough

12/29/2010 at 07:18PM

22
#191 - pcapriotti / @pcapriotti

12/29/2010 at 12:44PM

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

05/26/2012 at 06:12AM

22
#193 - Dr Rev J. “I am not a bot!” Kirchartz, KSC, KHS / @JKirchartz

07/20/2013 at 08:52PM

22
#194 - Gurukandhamoorthi / @Gurukandhamoor1

07/28/2017 at 02:00PM

23
#195 - Christopher Vollick / @psycotica0

12/29/2010 at 04:24AM

23
#196 - Ryan Elmquist / @relmquist

12/29/2010 at 08:26AM

24
#197 - Joe McCall / @joem86

12/29/2010 at 07:54AM

24
#198 - vim_maxter / @MaxterVim

09/20/2021 at 06:13AM

25
#199 - DJ Adams / @qmacro

12/29/2010 at 06:00PM

25
#200 - Arto Vuori / @dhpe

08/30/2012 at 09:08PM

25
#201 - glennphillips / @glennphillips

07/12/2014 at 03:17AM

26
#202 - Oliver Christ / @0liverChrist

10/09/2013 at 09:23PM

27
#203 - Joe Hassick / @jhassick

12/29/2010 at 04:35PM

30
#204 - Nadja Untendiegruft / @nadjau

12/29/2010 at 10:52AM

30
#205 - Behnam Esfahbod / @zwnj

12/30/2010 at 12:51PM

30
#206 - Juan C. Muller / @juancmuller

12/31/2010 at 04:46AM

30
#207 - Nick / @quinks25

01/13/2011 at 09:30PM

31
#208 - lionel young / @lionelyoung

12/29/2010 at 07:47AM

31
#209 - Guillaume Bonnoron / @gbonnoron

12/31/2010 at 11:55AM

31
#210 - Dj Vimgolf / @dj_vimgolf

01/14/2012 at 06:08PM