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 9v006648ce61000000000274

Format a long line

Reformat long lines (gq), textwidth=78, no trailing spaces.

Start file
     __     ___             _       _   _  ___ _____                               \ \   / (_)_ __ ___   (_)___  | | | |/ _ \_   _|                               \ \ / /| | '_   _ \  | / __| | |_| | | | || |                                  \ V / | | | | | | | | \__ \ |  _  | |_| || |                                   \_/  |_|_| |_| |_| |_|___/ |_| |_|\___/ |_|                                  ____ _____ _   _ _____ _____ _ _                                             / ___|_   _| | | |  ___|  ___| | |                                            \___ \ | | | | | | |_  | |_  | | |                                             ___) || | | |_| |  _| |  _| |_|_|                                            |____/ |_|  \___/|_|   |_|   (_|_)
End file
     __     ___             _       _   _  ___ _____
     
\ \   / (_)_ __ ___   (_)___  | | | |/ _ \_   _|
      \ \ /
/| | '_   _ \  | / __| | |_| | | | || |
       \ V / | | | | | | | | \__ \ |  _  | |_| || |
        \_/  |_|_| |_| |_| |_|___/ |_| |_|\___/ |_|
       ____ _____ _   _ _____ _____ _ _
      / ___|_   _| | | |  ___|  ___| | |
      \___ \ | | | | | | |_  | |_  | | |
       ___) || | | |_| |  _| |  _| |_|_|
      |____/ |_|  \___/|_|   |_|   (_|_)

View Diff

1c1,10
<      __     ___             _       _   _  ___ _____                               \ \   / (_)_ __ ___   (_)___  | | | |/ _ \_   _|                               \ \ / /| | '_   _ \  | / __| | |_| | | | || |                                  \ V / | | | | | | | | \__ \ |  _  | |_| || |                                   \_/  |_|_| |_| |_| |_|___/ |_| |_|\___/ |_|                                  ____ _____ _   _ _____ _____ _ _                                             / ___|_   _| | | |  ___|  ___| | |                                            \___ \ | | | | | | |_  | |_  | | |                                             ___) || | | |_| |  _| |  _| |_|_|                                            |____/ |_|  \___/|_|   |_|   (_|_)
---
>      __     ___             _       _   _  ___ _____
>      \ \   / (_)_ __ ___   (_)___  | | | |/ _ \_   _|
>       \ \ / /| | '
_   _ \  | / __| | |_| | | | || |
>        \ V /
| | | | | | | | \__ \ |  _  | |_| || |
>         \_/  |_|_| |_| |_| |_|___/ |_| |_|\___/ |_|
>        ____ _____ _   _ _____ _____ _ _
>       / ___|_   _| | | |  ___|  ___| | |
>       \___ \ | | | | | | |_  | |_  | | |
>        ___) || | | |_| |  _| |  _| |_|_|
>       |____/
|_|  \___/|_|   |_|   (_|_)

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 26 remaining solutions by signing in and submitting your own entry
#27 Murphy / @TemplateXu - Score: 485 - 08/20/24 @ 07:44
:%d<CR>i<50-53><0xe2><0x80><0x82>    __     ___             _       _   _  ___ _____<CR>     \ \   / (_)_ __ ___   (_)___  | | | |/ _ \_   _|<CR>      \ \ / /| | '_   _ \  | / __| | |_| | | | || |<CR>       \ V / | | | | | | | | \__ \ |  _  | |_| || |<CR>        \_/  |_|_| |_| |_| |_|___/ |_| |_|\___/ |_|<CR>       ____ _____ _   _ _____ _____ _ _<CR>      / ___|_   _| | | |  ___|  ___| | |<CR>      \___ \ | | | | | | |_  | |_  | | |<CR>       ___) || | | |_| |  _| |  _| |_|_|<CR>      |____/ |_|  \___/|_|   |_|   (_|_)<Esc>[201~<Esc><Esc>:x<CR>

0 comments


Created by: @maharba6

27 active golfers, 88 entries

Leaderboard (lowest score wins):
17
#1 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

05/19/2024 at 01:38PM

17
#2 - John Braxler / @braxler

05/20/2024 at 11:51AM

17
#3 - Peppa Pig / @PeppaPigSg

05/26/2024 at 10:19AM

17
#4 - got_windy / @insomnight

11/06/2024 at 03:55AM

18
#5 - wpr__ / @wpr____

05/18/2024 at 08:36PM

18
#6 - Jean George / @JeanGeo20504212

05/20/2024 at 08:45PM

18
#7 - Aly Thobani / @alythobani

05/22/2024 at 04:45PM

18
#8 - Blake Raymond / @bit-ray

07/21/2024 at 06:46AM

18
#9 - nickGPT / @nickandbro

08/22/2024 at 03:59AM

18
#10 - Jonathan Schaaij / @jonathanschaaij

08/22/2024 at 10:37AM

18
#11 - Adi / @adi2004

09/29/2024 at 06:01PM

18
#12 - GiggioG / @GiggioG

04/04/2025 at 08:28PM

19
#13 - Lennart / @lennartack

05/19/2024 at 10:25AM

19
#14 - Tatum Roaquin / @tatumroaquin

05/21/2024 at 05:51AM

24
#15 - maharba6 / @maharba6

01/14/2025 at 10:27PM

29
#16 - Valacar / @valacar

05/18/2024 at 08:24PM

29
#17 - rhasarub / @rhasarub

09/09/2024 at 08:43AM

30
#18 - Kristofers Solo / @kristoferssolo

07/12/2024 at 04:25PM

31
#19 - Jan Musílek / @stinovlas

06/12/2024 at 11:16AM

32
#20 - haruto009 / @haruto009

05/21/2024 at 09:30AM

34
#21 - smiech / @smiech

05/19/2024 at 11:50AM

35
#22 - Thijs / @Liulangzhe98

05/22/2024 at 11:40AM

67
#23 - Vic Segers / @VicSegers

08/22/2024 at 12:52PM

120
#24 - Andrew Dawson / @corvuscorax12

08/14/2024 at 03:46PM

219
#25 - Yannik Bürkle / @yannik-b

05/18/2024 at 07:59PM

262
#26 - cr100 / @rekicc

10/05/2024 at 04:31AM

485
#27 - Murphy / @TemplateXu

08/20/2024 at 07:44AM