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):
17
#121 -  Ikhsan Maulana / @ixandidu

12/30/2010 at 08:01PM

17
#122 - Aurélien Delahaye / @alkove

12/30/2010 at 08:05PM

17
#123 - Henri Bourcereau / @mmai

12/30/2010 at 08:08PM

17
#124 - David Bengoa / @DvdBng

12/30/2010 at 08:10PM

17
#125 - Kornél Lugosi / @Coornail

12/30/2010 at 08:13PM

17
#126 - milkypostman / @milkypostman

12/30/2010 at 08:19PM

17
#127 - Rod Cloutier / @RodCloutier

12/30/2010 at 08:28PM

17
#128 - Mike Plotz / @antisuji

12/30/2010 at 08:38PM

17
#129 - clint tseng / @cxlt

12/30/2010 at 09:12PM

17
#130 - Simon C / @happynoff

12/30/2010 at 09:17PM

17
#131 - Mikel Ward / @mikelward

12/30/2010 at 09:22PM

17
#132 - Denis Odorcic / @denisodorcic

12/30/2010 at 09:30PM

17
#133 - Bogdan Popa / @bogdanp

12/30/2010 at 09:35PM

17
#134 - James Wickett / @wickett

12/30/2010 at 09:35PM

17
#135 - Yannick LM / @yanicklm

12/30/2010 at 09:54PM

17
#136 - Brian Ferrell / @endenizen

12/30/2010 at 09:59PM

17
#137 - Mike Cooper / @mythmon

12/30/2010 at 10:47PM

17
#138 - Franck Verrot / @CesarioGW

12/30/2010 at 11:08PM

17
#139 - Danny Dulai / @dannydulai

12/31/2010 at 12:04AM

17
#140 - Matthew Draper / @_matthewd

12/31/2010 at 01:41AM

17
#141 - Eike Schulte / @eikeschulte

12/31/2010 at 02:43AM

17
#142 - David / @ddddddddavid

12/31/2010 at 04:41AM

17
#143 - Austin Taylor / @austintaylor

12/31/2010 at 04:53AM

17
#144 - Bart Van Geyt / @Bart_VG

12/31/2010 at 01:59PM

17
#145 - Mattiassich Ákos / @mattiassicha

12/31/2010 at 03:11PM

17
#146 - Tien Le / @tienlex

12/31/2010 at 03:13PM

17
#147 - Pierre / @Pihour

12/31/2010 at 07:28PM

17
#148 - dominique pellé / @vimgolfisto

01/01/2011 at 02:37PM

17
#149 - Ben Brown / @benofbrown

01/01/2011 at 07:08PM

17
#150 - James Cash / @jamesnvc

01/02/2011 at 09:56PM