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 4d1dfe2cde2f897c2a0003e3

Letters are numbers

Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?

Start file
Letters can also be numbers. Not sure how it works but it does
End file
761011161161011141153299971103297108115111329810132110117109981011141154632781111163211511711410132104111119321051163211911111410711532981171163210511632100111101115

View Diff

1c1
< Letters can also be numbers. Not sure how it works but it does
---
> 761011161161011141153299971103297108115111329810132110117109981011141154632781111163211511711410132104111119321051163211911111410711532981171163210511632100111101115

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 75 remaining solutions by signing in and submitting your own entry
#76 じょんあば / @john_ababa - Score: 169 - 02/24/12 @ 06:15
C761011161161011141153299971103297108115111329810132110117109981011141154632781111163211511711410132104111119321051163211911111410711532981171163210511632100111101115<Esc>ZZ

0 comments


Created by: @jamesconroyfinn

76 active golfers, 167 entries

Leaderboard (lowest score wins):
20
#1 - Federico Galassi / @federicogalassi

01/17/2011 at 10:18PM

20
#2 - Zion Park / @zionpark93

01/04/2023 at 07:19PM

23
#3 - Urtica dioica / @udioica

08/12/2012 at 07:41AM

23
#4 - Conner McDaniel / @connermcd

09/25/2012 at 12:02AM

23
#5 - John Braxler / @braxler

09/12/2014 at 07:28PM

23
#6 - lynn / @la_lalxu

08/21/2016 at 09:56AM

23
#7 - vimgolfer / @vimgolfer7

09/29/2019 at 05:19AM

23
#8 - Peppa Pig / @PeppaPigSg

10/10/2024 at 02:50AM

24
#9 - pftb12345 / @pftb12345

04/17/2015 at 05:41AM

24
#10 - Jon Krause / @jkrause314

12/24/2015 at 07:12PM

24
#11 - nickGPT / @nickandbro

08/28/2024 at 11:33PM

25
#12 - Bruno Sutic / @brunosutic

07/19/2013 at 04:21AM

26
#13 - Douglas Stockwell / @dstockwell

12/31/2010 at 07:38PM

26
#14 - Alain Gilbert / @alain_gilbert

12/31/2010 at 08:32PM

26
#15 - Behnam Esfahbod / @zwnj

12/31/2010 at 08:59PM

26
#16 - eolo999 / @eolo999

12/31/2010 at 10:45PM

26
#17 - Wei Dai / @clvv42

01/01/2011 at 01:28AM

26
#18 - dominique pellé / @vimgolfisto

01/03/2011 at 09:14AM

26
#19 - Corey Purcell / @coreypurcell

01/03/2011 at 02:15PM

26
#20 - Benoît Ryder / @benoitryder

01/03/2011 at 10:56PM

26
#21 - Ujjwol Lamichhane / @Ujjwol

01/06/2011 at 02:24PM

26
#22 - drio / @drio

01/10/2011 at 01:17PM

26
#23 - Oleg Roshupkin / @jjjahson

01/20/2011 at 01:43PM

26
#24 - xhtmlforum / @xhtmlforum

01/24/2011 at 10:21PM

26
#25 - h_east (トロッコ6個) / @h_east

01/30/2011 at 03:46AM

26
#26 - vg / @vimgolfer

02/27/2011 at 09:16PM

26
#27 - Justin Love / @wondible

07/14/2011 at 04:24PM

26
#28 - Junfeng / @junfeng

07/22/2011 at 08:33AM

26
#29 - Dave / @zzdave13

07/26/2011 at 07:09PM

26
#30 - Tim Tsu / @vimgolfpunk

08/29/2011 at 02:57PM