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

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 312 remaining solutions by signing in and submitting your own entry
#313 Jean-Francois C. / @jfchevrette - Score: 75 - 12/31/10 @ 00:38
O************************<Esc>1yyjp<Esc>jjjO****************************<Esc>1yyjp<Esc>:wq<CR>

0 comments


Created by: @lionelyoung

313 active golfers, 929 entries

Leaderboard (lowest score wins):
16
#61 - Urtica dioica / @udioica

05/29/2012 at 05:09AM

16
#62 - mwatkward / @AftrschoolSpe

06/22/2012 at 12:46PM

16
#63 - Kate / @Arohanui

10/29/2012 at 03:32AM

16
#64 - Tom Cammann / @tea_sea

11/11/2012 at 06:15PM

16
#65 - Hubba / @HubbaBubbaFett

12/28/2012 at 09:36PM

16
#66 - Adam Bell / @adamgbell

03/27/2013 at 01:02AM

16
#67 - Tyler / @tylerbindon

04/05/2013 at 03:19AM

16
#68 - Marco Hinz / @_mhinz_

05/23/2013 at 10:10AM

16
#69 - mnx / @mnxx

06/05/2013 at 03:45PM

16
#70 - Jonáš Šerých / @serycjon

06/26/2013 at 10:05PM

16
#71 - Petro Тrouq / @zulolosi

07/04/2013 at 07:54PM

16
#72 - Steve Tjoa / @stevetjoa

07/08/2013 at 05:56AM

16
#73 - Bradd Szonye / @bszonye

07/14/2013 at 07:34AM

16
#74 - James T. Huggett / @Jmeshka

10/05/2013 at 06:11PM

16
#75 - Song Zheng / @songz

10/27/2013 at 08:17PM

16
#76 - Casey Dwyer / @caseydwyer

11/04/2013 at 08:50PM

16
#77 - Stefan Schmidt / @stafue

12/06/2013 at 03:22PM

16
#78 - Yann Moisan / @YannMoisan

01/01/2014 at 09:00PM

16
#79 - Quota / @Quotad

02/04/2014 at 12:40PM

16
#80 - Marcin Cabaj / @marcincabaj

02/04/2014 at 05:41PM

16
#81 - Stijn Seghers / @StijnSeghers

02/06/2014 at 11:55AM

16
#82 - Xelrifos / @Xelrifos

02/21/2014 at 06:59PM

16
#83 - Milind Ganjoo / @mganjoo

03/03/2014 at 11:51PM

16
#84 - vimgolf copycat / @vimgolf_copycat

03/08/2014 at 07:05PM

16
#85 - Joonas Pihlajamaa / @jokkebk

03/17/2014 at 10:23AM

16
#86 - Nabi Studios / @Toribash

03/28/2014 at 03:35PM

16
#87 - Felipe Jaramillo F / @mrfelipe

04/04/2014 at 02:49AM

16
#88 - John Braxler / @braxler

04/09/2014 at 08:14PM

16
#89 - Kyle Travis / @kmakai

05/16/2014 at 10:42PM

16
#90 - BJ Terry / @ThatBJTerry

05/21/2014 at 05:54AM