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):
17
#841 - floccwins / @floccwins

12/13/2016 at 07:04PM

17
#842 - MichaƂ Dytko / @DytkoM

12/19/2016 at 08:45AM

17
#843 - Mattias GABRIEL / @matou008

12/20/2016 at 09:52PM

17
#844 - Saurav Mitra / @SauravMitra11

01/05/2017 at 01:45PM

17
#845 - Nico Jansen / @nicojansen1804

01/05/2017 at 09:48PM

17
#846 - J. Cosa / @esoesotracosa

01/18/2017 at 10:01AM

17
#847 - Vimgolf / @vimgolf987

02/26/2017 at 08:41PM

17
#848 - Pratik Prasad / @pratik

04/24/2017 at 06:19PM

17
#849 - Codingpotato / @codingpotato

05/07/2017 at 09:36AM

17
#850 - Bruce Horner / @HerbConjurer

05/14/2017 at 02:30AM

17
#851 - almostdvs / @almostdvs

05/23/2017 at 02:43AM

17
#852 - David Gustavsson / @mrGustaphe

06/08/2017 at 03:57PM

17
#853 - grigouille / @grigouille2

07/06/2017 at 11:47AM

17
#854 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 09:41AM

17
#855 - Jacob Buete / @JBuete

07/30/2017 at 04:03AM

17
#856 - Brandon Height / @Lask0x

08/08/2017 at 03:32AM

17
#857 - Geoff / @RealGeoffErwin

09/28/2017 at 08:48PM

17
#858 - Jonathan Letham / @JonathanLetham

10/01/2017 at 08:12PM

17
#859 - Gregor / @Gregor07899789

10/20/2017 at 08:41PM

17
#860 - Spacesh1p / @spacesh1pdev

01/04/2018 at 09:56AM

17
#861 - SporadicLizard / @sporadiclizard

01/14/2018 at 08:26PM

17
#862 - c0llision / @sh3llcode

01/26/2018 at 11:48AM

17
#863 - John C Shea / @MHSSachems

02/08/2018 at 12:57PM

17
#864 - David Pimentel / @daveypimentel

03/26/2018 at 08:44PM

17
#865 - Tim / @timothyscosta

04/02/2018 at 03:10PM

17
#866 - tapio / @gncnaxb

04/12/2018 at 05:49PM

17
#867 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 01:29PM

17
#868 - tue2truong / @tue2truong1

05/27/2018 at 11:41AM

17
#869 - Justin Hoyt / @JustinHoyt24

06/23/2018 at 04:54PM

17
#870 - mass / @mass256

07/06/2018 at 08:09AM