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 11 remaining solutions by signing in and submitting your own entry
#12 RobertT / techrt2050 - Score: 78 - 09/13/13 @ 16:55
YPi__<Esc>+hi/<Esc>A\<Esc>6GyGP3Gqq1|i|<Esc>A|<Esc>jq7@qO\/<Esc>42i-<Esc>0xk$17i <Esc>k.k14i <Esc>k18i <Esc>k26i <Esc>:wq<CR>

0 comments

#13 Cristian Lupașcu / clupasq - Score: 79 - 02/08/16 @ 20:18
:5,9t9<CR>ggYpki__<Esc>j0i/<Esc>A\<Esc>qqj0i|<Esc>A <Esc>40.q7@q?!3l<BS><BS><CR>3l<C-V>7j$xgvI|<Esc>:1t10<CR>ver-0r\A<BS>/<Esc>ZZ

0 comments

#14 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

14 active golfers, 41 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

37
#4 - farseer / FarseerSee2012

08/30/2013 at 01:27AM

40
#5 - Steve Tjoa / stevetjoa

08/28/2013 at 06:32PM

40
#6 - Dom Armstrong / dom_cycleface

08/29/2013 at 01:18PM

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

08/29/2013 at 01:18AM

46
#8 - Patrick Oscity / der_padde

02/11/2014 at 02:30PM

48
#9 - cj / cj01101

08/28/2013 at 05:29PM

53
#10 - hiding / I_haveno_name

11/04/2013 at 05:04AM

56
#11 - Jan Wedekind / wedesoft

08/28/2013 at 12:52PM

78
#12 - RobertT / techrt2050

09/13/2013 at 04:55PM

79
#13 - Cristian Lupașcu / clupasq

02/08/2016 at 08:18PM

80
#14 - brett / brettyukich

09/20/2013 at 12:29AM