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):
17
#931 - Timo Mihaljov / @noidi

09/28/2018 at 06:32PM

17
#932 - vg / @vg53210350

10/29/2018 at 02:49AM

17
#933 - Sxcy / @SxcyX

11/06/2018 at 03:08PM

17
#934 - owen s vallis / @OwenVallis

11/18/2018 at 08:02AM

17
#935 - Jasper Pangilinan / @JasperP

12/29/2018 at 10:38AM

17
#936 - wrglprmft / @wrglprmft

01/19/2019 at 09:56PM

17
#937 - churaki / @churaki

01/26/2019 at 11:36AM

17
#938 - Zach Miller / @barizachsy

02/27/2019 at 04:38AM

17
#939 - Izaak van Dongen / @goedel_gang

04/28/2019 at 12:53AM

17
#940 - Trevor Langston / @sunkenroad

07/03/2019 at 11:45PM

17
#941 - Luiz Eduardo Amaral / @_luxedo

08/13/2019 at 05:02PM

17
#942 - Ralph Callaway / @RalphAtCCC

10/30/2019 at 12:25AM

17
#943 - Keith Klassen / @Collegekid491

11/02/2019 at 10:32PM

17
#944 - Minyi Zhong / @minyi_zhong

11/25/2019 at 09:31AM

17
#945 - Andrew Ferrier / @andrewferrier

02/02/2020 at 01:28AM

17
#946 - Daniel Amkær Sørensen / @AmkRensen

02/04/2020 at 11:44AM

17
#947 - volandkit / @volandkit

04/22/2020 at 07:09PM

17
#948 - Seve / @__Seve__

04/25/2020 at 01:43PM

17
#949 - dule2607 / @dule26071

05/02/2020 at 10:22AM

18
#950 - Jason Nesbitt / @compilejason

07/07/2015 at 08:04PM

18
#951 - Wandering ponderer / @0proxycon

07/11/2015 at 11:18PM

18
#952 - Joshua Simmons / @MmnJoshua

07/13/2015 at 01:36PM

18
#953 - Raj / @brshenoy

07/16/2015 at 05:02PM

18
#954 - Alok Singh / @TheRevAlokSingh

07/20/2015 at 06:37PM

18
#955 - Vincent Yu / @vyuniverse

07/21/2015 at 03:25AM

18
#956 - Aku Laatokka / @Retiici

07/23/2015 at 08:17PM

18
#957 - darookee / @darookee

07/24/2015 at 09:11AM

18
#958 - Endre Galaczi / @galacziendre

07/26/2015 at 02:41PM

18
#959 - Brian Gapinski / @Xechas

07/28/2015 at 07:08PM

18
#960 - Rickard Fransson / @xxRion

08/05/2015 at 11:59AM