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

1114 active golfers, 3962 entries

Leaderboard (lowest score wins):
16
#781 - Mayank Suman / @mayank_suman

06/25/2017 at 02:37PM

16
#782 - Stop and think / @ms_uncountable

07/07/2017 at 11:33PM

16
#783 - Paul Sonkoly / @Phaul

09/05/2017 at 10:30AM

16
#784 - ybark / @ybark

09/27/2017 at 02:59PM

16
#785 - h43z / @h43z

10/03/2017 at 11:29PM

16
#786 - Elton Kamami / @pixel_grid

10/09/2017 at 06:44PM

16
#787 - Ron Alexssen / @Ralexhere

10/13/2017 at 11:54PM

16
#788 - ryuugekisya / @ryuugekisya

11/04/2017 at 10:50AM

16
#789 - Kaydo Alders / @Yousousen

03/14/2018 at 01:47PM

16
#790 - Ondrej Poradek / @OPoradek

03/18/2018 at 08:26AM

16
#791 - Florian Kempenich / @ThisIsFlorianK

04/25/2018 at 10:53AM

16
#792 - Plexigras / @plexigras

06/02/2018 at 06:58PM

16
#793 - xer0.5ive / @Bibekshah

07/09/2018 at 02:44PM

16
#794 - 伺か / @ojiry

07/18/2018 at 07:35AM

16
#795 - Pierre Dorbais / @chdorb

08/09/2018 at 11:39AM

16
#796 - Weston Neal / @wtneal

09/06/2018 at 08:25PM

16
#797 - Paul Inc / @hiniol1982

10/18/2018 at 07:22PM

16
#798 - Dave Brda / @BrdaDave

10/28/2018 at 04:35PM

16
#799 - Luis Rodriguez / @luisthecoder

11/13/2018 at 01:19AM

16
#800 - TimMcGuire / @mcguire

12/26/2018 at 05:03PM

16
#801 - Patrick Lavin / @LavinComputes

02/05/2019 at 10:18PM

16
#802 - Wei Wen / @goweiwen

02/15/2019 at 03:00AM

16
#803 - Тёма / @Timon_Surikat

02/15/2019 at 03:03PM

16
#804 - XenoRiS / @XenoRiS1

02/16/2019 at 04:57PM

16
#805 - andrwyoung / @andrwyoung1

03/04/2019 at 07:25PM

16
#806 - J. Nick Terry / @deft_code

04/08/2019 at 09:30PM

16
#807 - chihiro / @chihiro0940

05/09/2019 at 02:06PM

16
#808 - Phoon / @justflashhim

05/13/2019 at 12:47AM

16
#809 - Nick Yeow / @nickyeow

05/22/2019 at 12:19PM

16
#810 - Sean Sullivan / @_seanyneutron

07/12/2019 at 04:33AM