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 @shahanavazm:

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

337 active golfers, 1007 entries

Solutions by @shahanavazm:
18
#241 - shahanavaz m / @shahanavazm

03/03/2024 at 02:57AM

18
#>241 - shahanavaz m / @shahanavazm

03/03/2024 at 05:22AM

19
#>247 - shahanavaz m / @shahanavazm

03/15/2024 at 02:20AM

20
#>252 - shahanavaz m / @shahanavazm

03/02/2024 at 10:41PM

24
#>298 - shahanavaz m / @shahanavazm

02/14/2022 at 06:58PM

24
#>298 - shahanavaz m / @shahanavazm

01/29/2024 at 08:16PM

26
#>306 - shahanavaz m / @shahanavazm

02/14/2022 at 07:13PM

26
#>307 - shahanavaz m / @shahanavazm

01/29/2024 at 06:38PM

32
#>328 - shahanavaz m / @shahanavazm

02/14/2022 at 07:09PM

32
#>328 - shahanavaz m / @shahanavazm

03/02/2024 at 10:36PM

34
#>329 - shahanavaz m / @shahanavazm

03/02/2024 at 10:37PM