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

1052 active golfers, 3678 entries

Leaderboard (lowest score wins):
16
#751 - Weston Neal / @wtneal

09/06/2018 at 08:25PM

16
#752 - Paul Inc / @hiniol1982

10/18/2018 at 07:22PM

16
#753 - Dave Brda / @BrdaDave

10/28/2018 at 04:35PM

16
#754 - Luis Rodriguez / @luisthecoder

11/13/2018 at 01:19AM

16
#755 - TimMcGuire / @mcguire

12/26/2018 at 05:03PM

16
#756 - Patrick Lavin / @LavinComputes

02/05/2019 at 10:18PM

16
#757 - Wei Wen / @goweiwen

02/15/2019 at 03:00AM

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

02/15/2019 at 03:03PM

16
#759 - XenoRiS / @XenoRiS1

02/16/2019 at 04:57PM

16
#760 - andrwyoung / @andrwyoung1

03/04/2019 at 07:25PM

16
#761 - J. Nick Terry / @deft_code

04/08/2019 at 09:30PM

16
#762 - chihiro / @chihiro0940

05/09/2019 at 02:06PM

16
#763 - Phoon / @justflashhim

05/13/2019 at 12:47AM

16
#764 - Nick Yeow / @nickyeow

05/22/2019 at 12:19PM

16
#765 - Sean Sullivan / @_seanyneutron

07/12/2019 at 04:33AM

16
#766 - theBecwar / @thebecwar

08/18/2019 at 06:44PM

16
#767 - Ariel Miculas / @ArielMiculas

09/19/2019 at 12:40PM

16
#768 - vicver09 / @vicver091

11/04/2019 at 03:38PM

16
#769 - pysnow530 / @pysnow530

11/21/2019 at 05:12AM

16
#770 - Abner jr / @Abnerjr19

12/04/2019 at 01:16PM

16
#771 - Ian / @IanPartials

12/16/2019 at 06:24AM

16
#772 - None / @sh1chuang

01/09/2020 at 12:35PM

16
#773 - beew71493 / @beew71493

01/21/2020 at 02:53AM

17
#774 - Teemu Okkonen / @TeemuOkkonen

07/08/2015 at 09:09AM

17
#775 - Rene Tianco / @murlockslol

07/10/2015 at 06:22AM

17
#776 - Jonas Ng / @jnshey

07/15/2015 at 10:36AM

17
#777 - winston cheong / @winstoncheong

07/18/2015 at 06:23AM

17
#778 - Christopher MCA / @christopherMCA

07/20/2015 at 03:46AM

17
#779 - Test / @goodbyetest1248

07/24/2015 at 02:56PM

17
#780 - Ásgeir Bjarnason / @abjarnasn

07/25/2015 at 12:46PM