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 50d0c33daa503f000200000f

Groups magic

Regexp or macros for string converting: (a) -> ___ (abc) -> ____ (abcd) -> ______ All in the '(' replace to _ multiply by char count + ()

Start file
(a) (abc) (abcd) (123456)
End file
___ _____ ______ ________

View Diff

1c1,2
< (a) (abc) (abcd) (123456)
---
> ___ _____ ______ ________
>

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 92 remaining solutions by signing in and submitting your own entry
#93 Rustem B. / @_rustemb - Score: 21 - 07/31/20 @ 12:27
vabr_qqwvabr_q2@qo<Esc>ZZ

0 comments


#94 nickGPT / @nickandbro - Score: 21 - 08/28/24 @ 19:09
vabr_qqwvabr_q2@qo<Esc>ZZ

0 comments


Created by: @uzver

94 active golfers, 161 entries

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

12/19/2012 at 02:19AM

13
#2 - Kerson Hsiao / @KersonHsiao

12/19/2012 at 03:08AM

13
#3 - Hubba / @HubbaBubbaFett

12/19/2012 at 06:37PM

13
#4 - Victor Ramirez / @virako

12/21/2012 at 11:22AM

13
#5 - Xinruo Sun / @xiaoruoruo

12/23/2012 at 10:56AM

13
#6 - Alec Goebel / @zego5360

01/04/2013 at 04:03AM

13
#7 - Korbinian Stoemmer / @PaulSmecker

03/09/2013 at 03:53PM

13
#8 - Chasetopher / @chasetopherlee

04/29/2013 at 12:24AM

13
#9 - Marco Hinz / @_mhinz_

05/24/2013 at 06:23PM

13
#10 - Petro Тrouq / @zulolosi

08/28/2013 at 11:12AM

13
#11 - John Braxler / @braxler

06/02/2014 at 12:39PM

13
#12 - Kai Yuan / @kentyuan

09/20/2014 at 10:35PM

13
#13 - Evan Coleman / @edc1591

05/23/2015 at 03:15AM

13
#14 - Raj / @brshenoy

05/23/2015 at 03:21AM

13
#15 - hodenkobold66 / @hodenkobold66

06/25/2019 at 04:39PM

13
#16 - perTheGolfer / @GolferPer

10/09/2020 at 07:30PM

13
#17 - xiaoao1024 / @xiaoao1024

04/26/2024 at 10:53AM

13
#18 - Peppa Pig / @PeppaPigSg

05/28/2024 at 04:31AM

14
#19 - Conner McDaniel / @connermcd

12/18/2012 at 08:45PM

14
#20 - DR / @dde81

12/18/2012 at 09:22PM

14
#21 - Tim Chase / @gumnos

12/18/2012 at 10:36PM

14
#22 - joe di castro / @joe_di_castro

12/19/2012 at 12:04PM

14
#23 - じょんあば / @john_ababa

12/20/2012 at 04:01PM

14
#24 - Marcin Szamotulski / @me_coot

12/20/2012 at 07:03PM

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

12/21/2012 at 06:02AM

14
#26 - Pawel Obrok / @mrYapee

12/21/2012 at 01:18PM

14
#27 - faul_sname / @faul_sname

12/22/2012 at 05:06AM

14
#28 - jk / @kewnapse

12/23/2012 at 12:07AM

14
#29 - Marko Tibold / @markotibold

12/24/2012 at 12:04AM

14
#30 - Global Maquereau / @GlobalMaquereau

12/24/2012 at 01:52PM