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

0 comments


Created by: @lionelyoung

289 active golfers, 868 entries

Leaderboard (lowest score wins):
16
#1 - Douglas Stockwell / @dstockwell

12/30/2010 at 07:38PM

16
#2 - Jordan Lewis / @JordanALewis

12/30/2010 at 07:41PM

16
#3 - Brad / @bjjwillis

12/31/2010 at 02:37AM

16
#4 - Dmytro Shteflyuk / @kpumuk

12/31/2010 at 04:43AM

16
#5 - rabidpraxis / @rabidpraxis

12/31/2010 at 05:51AM

16
#6 - Utkarsh Kukreti / @utkarshkukreti

12/31/2010 at 05:58AM

16
#7 - Matt Mendell / @mpmendell

12/31/2010 at 07:07AM

16
#8 - Henrik Nyh / @henrik

12/31/2010 at 09:29AM

16
#9 - Ilya Ermolin / @ermolinis

12/31/2010 at 09:49AM

16
#10 - Behnam Esfahbod / @zwnj

12/31/2010 at 12:39PM

16
#11 - Prody / @Prody225

12/31/2010 at 01:35PM

16
#12 - Matt DiGregorio / @mattgreggs

12/31/2010 at 01:44PM

16
#13 - mrlboa / @mrlboa

12/31/2010 at 02:10PM

16
#14 - Amir Hedayaty / @hedayaty

12/31/2010 at 02:21PM

16
#15 - James Conroy-Finn / @jamesconroyfinn

12/31/2010 at 04:09PM

16
#16 - Zhao Yao / @Lynch8080

12/31/2010 at 06:18PM

16
#17 - Alain Gilbert / @alain_gilbert

12/31/2010 at 07:10PM

16
#18 - Vincent Isambart / @vincentisambart

01/01/2011 at 05:48AM

16
#19 - Johan Sahlén / @jsahlen

01/01/2011 at 10:07AM

16
#20 - Pete Johns / @johnsyweb

01/02/2011 at 01:46AM

16
#21 - wyl rof / @wylrof

01/02/2011 at 10:19AM

16
#22 - Clark Fischer / @clark_fischer

01/02/2011 at 11:31PM

16
#23 - Wei Dai / @clvv42

01/02/2011 at 11:38PM

16
#24 - ls lahrs / @lslah

01/03/2011 at 09:10AM

16
#25 - derp derp / @derp__

01/03/2011 at 05:04PM

16
#26 - Tim Chase / @gumnos

01/05/2011 at 02:39AM

16
#27 - Danny O'Sullivan / @db0s

01/05/2011 at 11:44AM

16
#28 - Ujjwol Lamichhane / @Ujjwol

01/06/2011 at 02:14PM

16
#29 - Balkoth / @_Balkoth_

01/08/2011 at 10:54PM

16
#30 - Andrey A. Ugolnik / @andreyugolnik

01/19/2011 at 08:21PM