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

1053 active golfers, 3684 entries

Leaderboard (lowest score wins):
17
#871 - Spacesh1p / @spacesh1pdev

01/04/2018 at 09:56AM

17
#872 - SporadicLizard / @sporadiclizard

01/14/2018 at 08:26PM

17
#873 - c0llision / @sh3llcode

01/26/2018 at 11:48AM

17
#874 - John C Shea / @MHSSachems

02/08/2018 at 12:57PM

17
#875 - David Pimentel / @daveypimentel

03/26/2018 at 08:44PM

17
#876 - Tim / @timothyscosta

04/02/2018 at 03:10PM

17
#877 - tapio / @gncnaxb

04/12/2018 at 05:49PM

17
#878 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 01:29PM

17
#879 - tue2truong / @tue2truong1

05/27/2018 at 11:41AM

17
#880 - Justin Hoyt / @JustinHoyt24

06/23/2018 at 04:54PM

17
#881 - mass / @mass256

07/06/2018 at 08:09AM

17
#882 - Dylan Waits / @pianoman320

07/16/2018 at 02:13AM

17
#883 - TachyG / @Tachypsychique

07/20/2018 at 09:20AM

17
#884 - Timo Mihaljov / @noidi

09/28/2018 at 06:32PM

17
#885 - vg / @vg53210350

10/29/2018 at 02:49AM

17
#886 - Sxcy / @SxcyX

11/06/2018 at 03:08PM

17
#887 - owen s vallis / @OwenVallis

11/18/2018 at 08:02AM

17
#888 - Jasper Pangilinan / @JasperP

12/29/2018 at 10:38AM

17
#889 - wrglprmft / @wrglprmft

01/19/2019 at 09:56PM

17
#890 - churaki / @churaki

01/26/2019 at 11:36AM

17
#891 - Zach Miller / @barizachsy

02/27/2019 at 04:38AM

17
#892 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:53AM

17
#893 - Trevor Langston / @sunkenroad

07/03/2019 at 11:45PM

17
#894 - Luiz Eduardo Amaral / @_luxedo

08/13/2019 at 05:02PM

17
#895 - Ralph Callaway / @RalphAtCCC

10/30/2019 at 12:25AM

17
#896 - Keith Klassen / @Collegekid491

11/02/2019 at 10:32PM

17
#897 - Minyi Zhong / @minyi_zhong

11/25/2019 at 09:31AM

18
#898 - Jason Nesbitt / @compilejason

07/07/2015 at 08:04PM

18
#899 - Wandering ponderer / @0proxycon

07/11/2015 at 11:18PM

18
#900 - Joshua Simmons / @MmnJoshua

07/13/2015 at 01:36PM