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

Make Fancy Header

Make the header text stand out with surrounding asterisks

Start file
Make this a fancy header
This is some text under the fancy header.

This is another fancy header
This is some more text
End file
************************
Make this a fancy header
************************
This is some text under the fancy header.

****************************
This is another fancy header
****************************
This is some more text

View Diff

0a1
> ************************
1a3
> ************************
3a6
> ****************************
4a8
> ****************************

Solutions by @bounce114:

Unlock 6 remaining solutions by signing in and submitting your own entry
Created by: @lionelyoung

348 active golfers, 1070 entries

Solutions by @bounce114:
16
#129 - bounce114 / @bounce114

12/07/2024 at 07:46AM

17
#>216 - bounce114 / @bounce114

12/07/2024 at 07:45AM

18
#>248 - bounce114 / @bounce114

12/07/2024 at 07:44AM

22
#>273 - bounce114 / @bounce114

12/07/2024 at 07:43AM

26
#>316 - bounce114 / @bounce114

12/07/2024 at 07:42AM

32
#>339 - bounce114 / @bounce114

12/07/2024 at 07:41AM