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

Return the cow

This cow is too verbose. Give it a lesson.

Start file
 ________________________________________
/ If you learn one useless thing every   \
| day, in a single year you'll learn 365 |
| useless things.                        |
\                   -- fortune | cowsay  /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
End file
 ________________________________________
/ If you learn one useless thing every   \
| day, in a single year you'll learn 365 |
| useless things.                        |
\                   -- fortune | cowsay  /
 ----------------------------------------
                    ^__^   /        
            _______/(oo)  /         
        /\/(       /(__)            
           | w----||                
           ||     ||

View Diff

7,11c7,11
<         \   ^__^
<          \  (oo)\_______
<             (__)\       )\/\
<                 ||----w |
<                 ||     ||
---
>                     ^__^   /        
>             _______/(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 29 remaining solutions by signing in and submitting your own entry
#30 じょんあば / @john_ababa - Score: 181 - 02/24/12 @ 10:18
6jdG:a!<CR>                    ^__^   /        <CR>            _______/(oo)  /         <CR>        /\/(       /(__)            <CR>           | w----||                <CR>           ||     ||<CR><Esc><Esc>ZZ

0 comments


Created by: @ornicar

30 active golfers, 75 entries

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

07/23/2012 at 09:40PM

52
#2 - Conner McDaniel / @connermcd

11/29/2012 at 05:35PM

52
#3 - Petro Тrouq / @zulolosi

06/04/2014 at 09:59PM

52
#4 - John Braxler / @braxler

10/24/2014 at 03:56PM

52
#5 - Peppa Pig / @PeppaPi95550250

05/08/2024 at 09:55AM

55
#6 - Justin Love / @wondible

08/14/2011 at 06:50PM

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

07/21/2013 at 08:13PM

55
#8 - John Meisner / @jmeisned

06/25/2014 at 03:13PM

56
#9 - Kerson Hsiao / @KersonHsiao

07/23/2012 at 07:26AM

56
#10 - hiding / @I_haveno_name

10/04/2013 at 12:55AM

57
#11 - Hu Junfeng / @junfeng

07/27/2011 at 10:43AM

58
#12 - Matthew Draper / @_matthewd

01/04/2011 at 03:38AM

58
#13 - You-Siang Lin / @yslinnctu

12/04/2011 at 02:47AM

58
#14 - Turkey Man / @lvturkeyman

12/05/2018 at 09:29AM

64
#15 - Glenn / @spamcow_moo

01/03/2011 at 11:18PM

65
#16 - Aurélien Delahaye / @alkove

01/04/2011 at 10:25PM

69
#17 - Tim Chase / @gumnos

01/03/2011 at 09:20PM

70
#18 - Renat Aksitov / @Korvin79

03/04/2012 at 12:06PM

82
#19 - Reef / @Sir_Reef

08/11/2015 at 09:54PM

96
#20 - Roger Bongers / @RogerBongers

10/22/2013 at 08:58PM

98
#21 - Nabi Studios / @Toribash

03/28/2014 at 07:33AM

99
#22 - Pete Johns / @johnsyweb

01/10/2011 at 07:47PM

104
#23 - tacr / @tacr4

02/03/2014 at 04:35PM

113
#24 - Pedro Santos / @pedrosans

02/21/2014 at 05:22PM

118
#25 - zmf_tim / @zmf_tim

07/09/2013 at 10:18AM

130
#26 - Chaitanya Desu / @ChaituNu

05/17/2014 at 08:36PM

131
#27 - RobertT / @techrt2050

07/14/2013 at 07:02AM

131
#28 - nickGPT / @nickandbro

08/28/2024 at 11:25PM

132
#29 - Mohammad-Javad Izadi / @mjizadi

01/05/2011 at 02:41PM

181
#30 - じょんあば / @john_ababa

02/24/2012 at 10:18AM