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 521df209452feb000200012d

Recursive Cowsay

Convert 'cowsay' statement to recursive output

Start file
 ________________________________________ 
/ Real Vim ninjas count every keystroke! \
\ - do you?                              /
 ---------------------------------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
End file
 __________________________________________ 
/ ________________________________________ \
|/ Real Vim ninjas count every keystroke! \|
|\ - do you?                              /|
| ---------------------------------------- |
|        \   ^__^                          |
|         \  (oo)\_______                  |
|            (__)\       )\/\              |
|                ||----w |                 |
|                ||     ||                 |
\------------------------------------------/
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

View Diff

1,4c1,11
<  ________________________________________ 
< / Real Vim ninjas count every keystroke! \
< \ - do you?                              /
<  ---------------------------------------- 
---
>  __________________________________________ 
> / ________________________________________ \
> |/ Real Vim ninjas count every keystroke! \|
> |\ - do you?                              /|
> | ---------------------------------------- |
> |        \   ^__^                          |
> |         \  (oo)\_______                  |
> |            (__)\       )\/\              |
> |                ||----w |                 |
> |                ||     ||                 |
> \------------------------------------------/

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 18 remaining solutions by signing in and submitting your own entry
#19 brett / @brettyukich - Score: 80 - 09/20/13 @ 00:29
YP4jVGyPggh<C-V>10jI <Esc>lr_A<BS>_ <Esc>ja\<Esc>I<BS><BS>/ <Esc>jh<C-V>7jr|A <Esc>:set ve=block<CR><C-V>7jr|8jI<BS><BS>\<Esc>A<BS>--/<Esc>ZZ

0 comments


Created by: @wedesoft

19 active golfers, 64 entries

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

07/15/2014 at 11:55PM

33
#2 - Petro Тrouq / @zulolosi

08/07/2014 at 07:28PM

33
#3 - John Braxler / @braxler

08/21/2014 at 06:23PM

33
#4 - Turkey Man / @lvturkeyman

12/05/2018 at 07:37AM

33
#5 - Peppa Pig / @PeppaPigSg

07/03/2024 at 04:57AM

34
#6 - quemeraisc / @quemeraisc

11/25/2020 at 03:47PM

37
#7 - farseer / @FarseerSee2012

08/30/2013 at 01:27AM

40
#8 - Steve Tjoa / @stevetjoa

08/28/2013 at 06:32PM

40
#9 - Dom Armstrong / @dom_cycleface

08/29/2013 at 01:18PM

41
#10 - ———đίxίє—flαтlίиє——— / @_dixie_flatline

08/29/2013 at 01:18AM

46
#11 - Patrick Oscity / @der_padde

02/11/2014 at 02:30PM

48
#12 - cj / @cj01101

08/28/2013 at 05:29PM

53
#13 - hiding / @I_haveno_name

11/04/2013 at 05:04AM

56
#14 - Jan Wedekind / @wedesoft

08/28/2013 at 12:52PM

56
#15 - nickGPT / @nickandbro

08/28/2024 at 06:13PM

71
#16 - Tuure / @tuure_p

03/24/2021 at 04:01AM

78
#17 - RobertT / @techrt2050

09/13/2013 at 04:55PM

79
#18 - Cristian Lupașcu / @clupasq

02/08/2016 at 08:18PM

80
#19 - brett / @brettyukich

09/20/2013 at 12:29AM