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

1014 active golfers, 3550 entries

Leaderboard (lowest score wins):
16
#721 - Ron Alexssen / @Ralexhere

10/13/2017 at 11:54PM

16
#722 - ryuugekisya / @ryuugekisya

11/04/2017 at 10:50AM

16
#723 - Kaydo Alders / @Yousousen

03/14/2018 at 01:47PM

16
#724 - Ondrej Poradek / @OPoradek

03/18/2018 at 08:26AM

16
#725 - Florian Kempenich / @ThisIsFlorianK

04/25/2018 at 10:53AM

16
#726 - Plexigras / @plexigras

06/02/2018 at 06:58PM

16
#727 - xer0.5ive / @Bibekshah

07/09/2018 at 02:44PM

16
#728 - 伺か / @ojiry

07/18/2018 at 07:35AM

16
#729 - Pierre Dorbais / @chdorb

08/09/2018 at 11:39AM

16
#730 - Weston Neal / @wtneal

09/06/2018 at 08:25PM

16
#731 - Paul Inc / @hiniol1982

10/18/2018 at 07:22PM

16
#732 - Dave Brda / @BrdaDave

10/28/2018 at 04:35PM

16
#733 - Luis Rodriguez / @luisthecoder

11/13/2018 at 01:19AM

16
#734 - TimMcGuire / @mcguire

12/26/2018 at 05:03PM

16
#735 - Patrick Lavin / @LavinComputes

02/05/2019 at 10:18PM

16
#736 - Wei Wen / @goweiwen

02/15/2019 at 03:00AM

16
#737 - Артем Мухометзянов / @Timon_Surikat

02/15/2019 at 03:03PM

16
#738 - XenoRiS / @XenoRiS1

02/16/2019 at 04:57PM

16
#739 - andrwyoung / @andrwyoung1

03/04/2019 at 07:25PM

16
#740 - J. Nick Terry / @deft_code

04/08/2019 at 09:30PM

16
#741 - chihiro / @chihiro0940

05/09/2019 at 02:06PM

16
#742 - Phoon / @justflashhim

05/13/2019 at 12:47AM

16
#743 - Nick Yeow / @nickyeow

05/22/2019 at 12:19PM

16
#744 - Sean Sullivan / @_seanyneutron

07/12/2019 at 04:33AM

16
#745 - theBecwar / @thebecwar

08/18/2019 at 06:44PM

17
#746 - Teemu Okkonen / @TeemuOkkonen

07/08/2015 at 09:09AM

17
#747 - Rene Tianco / @murlockslol

07/10/2015 at 06:22AM

17
#748 - Jonas Ng / @jnshey

07/15/2015 at 10:36AM

17
#749 - winston cheong / @winstoncheong

07/18/2015 at 06:23AM

17
#750 - Christopher MCA / @christopherMCA

07/20/2015 at 03:46AM