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

1040 active golfers, 3638 entries

Leaderboard (lowest score wins):
17
#871 - mass / @mass256

07/06/2018 at 08:09AM

17
#872 - Dylan Waits / @pianoman320

07/16/2018 at 02:13AM

17
#873 - TachyG / @Tachypsychique

07/20/2018 at 09:20AM

17
#874 - Timo Mihaljov / @noidi

09/28/2018 at 06:32PM

17
#875 - vg / @vg53210350

10/29/2018 at 02:49AM

17
#876 - Sxcy / @SxcyX

11/06/2018 at 03:08PM

17
#877 - owen s vallis / @OwenVallis

11/18/2018 at 08:02AM

17
#878 - Jasper Pangilinan / @JasperP

12/29/2018 at 10:38AM

17
#879 - wrglprmft / @wrglprmft

01/19/2019 at 09:56PM

17
#880 - churaki / @churaki

01/26/2019 at 11:36AM

17
#881 - Zach Miller / @barizachsy

02/27/2019 at 04:38AM

17
#882 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:53AM

17
#883 - Trevor Langston / @sunkenroad

07/03/2019 at 11:45PM

17
#884 - Luiz Eduardo Amaral / @_luxedo

08/13/2019 at 05:02PM

17
#885 - Ralph Callaway / @RalphAtCCC

10/30/2019 at 12:25AM

17
#886 - Keith Klassen / @Collegekid491

11/02/2019 at 10:32PM

17
#887 - Minyi Zhong / @minyi_zhong

11/25/2019 at 09:31AM

18
#888 - Jason Nesbitt / @compilejason

07/07/2015 at 08:04PM

18
#889 - Wandering ponderer / @0proxycon

07/11/2015 at 11:18PM

18
#890 - Joshua Simmons / @MmnJoshua

07/13/2015 at 01:36PM

18
#891 - Raj / @brshenoy

07/16/2015 at 05:02PM

18
#892 - Alok Singh / @TheRevAlokSingh

07/20/2015 at 06:37PM

18
#893 - Vincent Yu / @vyuniverse

07/21/2015 at 03:25AM

18
#894 - Aku Laatokka / @Retiici

07/23/2015 at 08:17PM

18
#895 - darookee / @darookee

07/24/2015 at 09:11AM

18
#896 - Endre Galaczi / @galacziendre

07/26/2015 at 02:41PM

18
#897 - Brian Gapinski / @Xechas

07/28/2015 at 07:08PM

18
#898 - Rickard Fransson / @xxRion

08/05/2015 at 11:59AM

18
#899 - Filipe Silva / @filipetwits

08/07/2015 at 12:35AM

18
#900 - luffy / @raxcoi

08/13/2015 at 04:24PM