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 1038 remaining solutions by signing in and submitting your own entry
#1039 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

1039 active golfers, 3634 entries

Leaderboard (lowest score wins):
16
#721 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 03:57PM

16
#722 - Michael Hoffmann / @micha66545852

02/28/2017 at 04:10PM

16
#723 - Mitchell / @Spitchell

03/15/2017 at 03:41PM

16
#724 - Tiago E. Triques / @tiagotriques

03/28/2017 at 04:47PM

16
#725 - Kevin K / @okkays

04/18/2017 at 04:14PM

16
#726 - IgnatiusMcGowan / @IgnatiusMcGowan

05/23/2017 at 11:35PM

16
#727 - Adam Bozanich / @abozanich

06/08/2017 at 04:46AM

16
#728 - fridjo / @frozenfrid

06/20/2017 at 09:13PM

16
#729 - Mayank Suman / @mayank_suman

06/25/2017 at 02:37PM

16
#730 - Stop and think / @ms_uncountable

07/07/2017 at 11:33PM

16
#731 - Paul Sonkoly / @Phaul

09/05/2017 at 10:30AM

16
#732 - ybark / @ybark

09/27/2017 at 02:59PM

16
#733 - h43z / @h43z

10/03/2017 at 11:29PM

16
#734 - Elton Kamami / @pixel_grid

10/09/2017 at 06:44PM

16
#735 - Ron Alexssen / @Ralexhere

10/13/2017 at 11:54PM

16
#736 - ryuugekisya / @ryuugekisya

11/04/2017 at 10:50AM

16
#737 - Kaydo Alders / @Yousousen

03/14/2018 at 01:47PM

16
#738 - Ondrej Poradek / @OPoradek

03/18/2018 at 08:26AM

16
#739 - Florian Kempenich / @ThisIsFlorianK

04/25/2018 at 10:53AM

16
#740 - Plexigras / @plexigras

06/02/2018 at 06:58PM

16
#741 - xer0.5ive / @Bibekshah

07/09/2018 at 02:44PM

16
#742 - 伺か / @ojiry

07/18/2018 at 07:35AM

16
#743 - Pierre Dorbais / @chdorb

08/09/2018 at 11:39AM

16
#744 - Weston Neal / @wtneal

09/06/2018 at 08:25PM

16
#745 - Paul Inc / @hiniol1982

10/18/2018 at 07:22PM

16
#746 - Dave Brda / @BrdaDave

10/28/2018 at 04:35PM

16
#747 - Luis Rodriguez / @luisthecoder

11/13/2018 at 01:19AM

16
#748 - TimMcGuire / @mcguire

12/26/2018 at 05:03PM

16
#749 - Patrick Lavin / @LavinComputes

02/05/2019 at 10:18PM

16
#750 - Wei Wen / @goweiwen

02/15/2019 at 03:00AM