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 559c30948ef59c0eb7000002

Collect List

Convert to comma separated list.

Start file
* item1
* item2
* item3
* item4
* item5
End file
item1,item2,item3,item4,item5

View Diff

1,5c1
< * item1
< * item2
< * item3
< * item4
< * item5
---
> item1,item2,item3,item4,item5

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 960 remaining solutions by signing in and submitting your own entry
#961 Radoslav Ivanov / @rivanov1 - Score: 89 - 09/15/15 @ 18:30
<C-V>ljjjjdqa$i,<BS><Esc><Esc><Esc>hhhhh$a,jj<BS><BS><Esc>dl<Esc><Esc>i<Esc><Esc>lla,jj<BS><BS><Esc><Esc>lj^i<BS>jj<BS><BS><Esc><Esc>qjh^i<BS>,jj<BS><BS><Esc><Esc>$j^i<BS>,<Esc><Esc>j^i<BS>,<Esc><Esc>:wq<CR>

0 comments


Created by: @compilejason

961 active golfers, 3354 entries

Leaderboard (lowest score wins):
16
#601 - vimgolf / @myspare307

07/15/2015 at 11:00PM

16
#602 - T0ha / @T0ha666

07/16/2015 at 12:26PM

16
#603 - Milind Ganjoo / @mganjoo

07/16/2015 at 09:14PM

16
#604 - James Hudon / @jrbhudon

07/17/2015 at 04:50AM

16
#605 - Perry van Schaijk / @PvSchaijk

07/19/2015 at 12:44PM

16
#606 - Florian Lücke / @CannibalGorilla

07/20/2015 at 08:57PM

16
#607 - ushumpei / @ushumpei_

07/21/2015 at 04:06PM

16
#608 - Jason Schulz / @uxcn_

07/24/2015 at 10:21PM

16
#609 - McKay Ward / @mckayward

07/25/2015 at 09:05PM

16
#610 - Bruce Park / @bpark0

07/27/2015 at 10:39PM

16
#611 - Robbie Clarken / @robbieclarken

07/28/2015 at 10:58AM

16
#612 - Toni Dezman / @CesarekToni

07/28/2015 at 05:51PM

16
#613 - Bakhti Aripov / @bakhti

07/29/2015 at 09:14AM

16
#614 - Shubham Sharma / @shubh1337

07/29/2015 at 05:26PM

16
#615 - Mateusz Żak / @krejziwan

07/30/2015 at 09:30PM

16
#616 - Roland Crosby / @roooooland

08/03/2015 at 07:59PM

16
#617 - Brian Besmanoff / @BrianBesmanoff

08/06/2015 at 05:06AM

16
#618 - Curtis Cooley / @CurtisRCooley

08/07/2015 at 09:44PM

16
#619 - David Montague / @sirlamps

08/07/2015 at 10:40PM

16
#620 - Marin Usalj / @_supermarin

08/10/2015 at 07:59PM

16
#621 - Nicola Lamacchia / @NicolaLamacchia

08/16/2015 at 02:41AM

16
#622 - broella3 / @broella3

08/18/2015 at 02:04PM

16
#623 - Jatinderjit Singh / @jatinderjit

08/18/2015 at 10:10PM

16
#624 - Dawid retkiewicz / @dawret

08/21/2015 at 10:22AM

16
#625 - Christophe Sicard / @tophsic

08/22/2015 at 09:47PM

16
#626 - Will Furnass / @WillFurnass

08/31/2015 at 07:01PM

16
#627 - Sam Grigg / @samgrigg

09/02/2015 at 06:03AM

16
#628 - Mart T / @xtimmu

09/02/2015 at 07:23PM

16
#629 - Andrew Reece / @azmreece

09/11/2015 at 01:32PM

16
#630 - Sebastien Charret / @SCharret

09/12/2015 at 04:57PM