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 33 remaining solutions by signing in and submitting your own entry
#34 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

34 active golfers, 125 entries

Leaderboard (lowest score wins):
120
#31 - Andrew Dawson / @corvuscorax12

08/14/2024 at 03:46PM

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

05/18/2024 at 07:59PM

262
#33 - cr100 / @rekicc

10/05/2024 at 04:31AM

485
#34 - Murphy / @TemplateXu

08/20/2024 at 07:44AM